Add docstring to p4 function
This commit is contained in:
parent
2e11e29700
commit
c1f26123f7
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@
|
||||||
(global-diff-hl-mode)
|
(global-diff-hl-mode)
|
||||||
|
|
||||||
(defun oni:with-diff-hl-p4-args (orig-fun &rest args)
|
(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")))
|
(let ((p4-lowlevel-diff-switches '("-du0")))
|
||||||
(apply orig-fun args)))
|
(apply orig-fun args)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue