summaryrefslogtreecommitdiff
path: root/lisp/vc/diff.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-03 16:32:55 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-03 16:33:02 +0200
commitc164f749794e7252887cce10cbfa31fd012351c3 (patch)
tree6da67bfec29c2165a0abf3cbd85becf9283b2789 /lisp/vc/diff.el
parentdacafba03d8cbd6132d84f5c73b61e2ebee6b85a (diff)
downloademacs-c164f749794e7252887cce10cbfa31fd012351c3.tar.gz
emacs-c164f749794e7252887cce10cbfa31fd012351c3.tar.bz2
emacs-c164f749794e7252887cce10cbfa31fd012351c3.zip
Mention the vc diff switches in diff-switches
* lisp/vc/diff.el (diff-switches): Mention the vc diff switches in the doc string (bug#4422).
Diffstat (limited to 'lisp/vc/diff.el')
-rw-r--r--lisp/vc/diff.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index 5fa771f5f1e..9ece8bc1fb4 100644
--- a/lisp/vc/diff.el
+++ b/lisp/vc/diff.el
@@ -39,7 +39,12 @@
;;;###autoload
(defcustom diff-switches (purecopy "-u")
- "A string or list of strings specifying switches to be passed to diff."
+ "A string or list of strings specifying switches to be passed to diff.
+
+This variable is also used in the `vc-diff' command (and related
+commands) if the backend-specific diff switch variable isn't
+set (`vc-git-diff-switches' for git, for instance), and
+`vc-diff-switches' isn't set."
:type '(choice string (repeat string))
:group 'diff)