summaryrefslogtreecommitdiff
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
commitf1622c61d888b041b421912536ae15bdc428ba92 (patch)
tree02e8ff9cfa9b24f5e35d8f0e7cc375bc7174996b
parent64e870ac90b2e8d5c5eed9dbb3990237615090a6 (diff)
downloademacs-f1622c61d888b041b421912536ae15bdc428ba92.tar.gz
Customize.
(diff-switches, diff-command): Add autoload cookies.
-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
'(