diff options
author | 2018-07-09 19:52:06 -0700 | |
---|---|---|
committer | 2018-07-09 19:52:06 -0700 | |
commit | c1f26123f7adf1680c78aa0cfdae68533687b61a (patch) | |
tree | 7d43db5c6b0e65585958ceb8b57853d92916b111 /emacs | |
parent | 2e11e297001a92725a4f674b8d103053e25dbea8 (diff) | |
download | new-dotfiles-c1f26123f7adf1680c78aa0cfdae68533687b61a.tar.gz new-dotfiles-c1f26123f7adf1680c78aa0cfdae68533687b61a.zip |
Add docstring to p4 function
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index fb11d21..ae92035 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -235,6 +235,9 @@ (global-diff-hl-mode) (defun oni:with-diff-hl-p4-args (orig-fun &rest args) + "Add Perforce-specific command-line arguments to `diff-hl-mode'. + +ORIG-FUN is the function being wrapped, ARGS are the arguments specified" (let ((p4-lowlevel-diff-switches '("-du0"))) (apply orig-fun args))) |