diff options
-rw-r--r-- | lisp/diff.el | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/lisp/diff.el b/lisp/diff.el index 3d05a3bda74..155942a8582 100644 --- a/lisp/diff.el +++ b/lisp/diff.el @@ -31,12 +31,22 @@ (require 'compile) -;;; This is duplicated in vc.el. -(defvar diff-switches "-c" - "*A string or list of strings specifying switches to be be passed to diff.") +;;;###autoload +(defgroup diff nil + "Comparing files with `diff'." + :group 'tools) + +;;;###autoload +(defcustom diff-switches "-c" + "*A string or list of strings specifying switches to be be passed to diff." + :type '(choice string (repeat string)) + :group 'diff) -(defvar diff-command "diff" - "*The command to use to run diff.") +;;;###autoload +(defcustom diff-command "diff" + "*The command to use to run diff." + :type string + :group 'diff) (defvar diff-regexp-alist '( |