emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c164f74: Mention the vc diff switches in diff-switc


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master c164f74: Mention the vc diff switches in diff-switches
Date: Thu, 3 Oct 2019 10:33:09 -0400 (EDT)

branch: master
commit c164f749794e7252887cce10cbfa31fd012351c3
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 lisp/vc/diff.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index 5fa771f..9ece8bc 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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]