]> git.eshelyaron.com Git - emacs.git/commitdiff
Customize.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 Jun 1997 21:41:20 +0000 (21:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 Jun 1997 21:41:20 +0000 (21:41 +0000)
(diff-switches, diff-command): Add autoload cookies.

lisp/diff.el

index 3d05a3bda74f7e6449dc792598a03b89b67db295..155942a85826141ef2196d30d6e508b1e331365e 100644 (file)
 
 (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
   '(