From c1f26123f7adf1680c78aa0cfdae68533687b61a Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 9 Jul 2018 19:52:06 -0700 Subject: [PATCH] Add docstring to p4 function --- emacs/.emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) 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)))