changeset 18143:3584a8182767

Customize. (diff-switches, diff-command): Add autoload cookies.
author Richard M. Stallman <rms@gnu.org>
date Wed, 04 Jun 1997 21:41:20 +0000
parents c9bd973ca168
children f8860990bdf7
files lisp/diff.el
diffstat 1 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff.el	Wed Jun 04 21:21:53 1997 +0000
+++ b/lisp/diff.el	Wed Jun 04 21:41:20 1997 +0000
@@ -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)
 
-(defvar diff-command "diff"
-  "*The command to use to run diff.")
+;;;###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)
+
+;;;###autoload
+(defcustom diff-command "diff"
+  "*The command to use to run diff."
+  :type string
+  :group 'diff)
 
 (defvar diff-regexp-alist
   '(