Add docstring to p4 function

This commit is contained in:
Tom Willemse 2018-07-09 19:52:06 -07:00
parent 2e11e29700
commit c1f26123f7

View file

@ -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)))