summaryrefslogtreecommitdiff
path: root/lisp/diff.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-04 21:41:20 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-04 21:41:20 +0000
commit85b6275ffc87a026d24b998f687d70d13dde6756 (patch)
tree158963eed729734b9555727e7c3907268f2dc118 /lisp/diff.el
parent7cc0629653cc9a5d9d0feeb513807b90d4239f35 (diff)
downloademacs-85b6275ffc87a026d24b998f687d70d13dde6756.tar.gz
Customize.
(diff-switches, diff-command): Add autoload cookies.
Diffstat (limited to 'lisp/diff.el')
-rw-r--r--lisp/diff.el20
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
'(