]> git.eshelyaron.com Git - emacs.git/commitdiff
Customized.
authorStephen Eglen <stephen@gnu.org>
Wed, 4 Feb 1998 19:24:34 +0000 (19:24 +0000)
committerStephen Eglen <stephen@gnu.org>
Wed, 4 Feb 1998 19:24:34 +0000 (19:24 +0000)
lisp/locate.el

index 90501845498622b0d73e1dd819627b1fd68dc52a..3c89e02ec23d26c99e12c70f75a4f7e1bbc04230 100644 (file)
   (require 'dired))
 
 ;; Variables
-(defvar locate-command "locate"
-  "*The executable program used to search a database of files.")
 
-(defvar locate-history-list nil
-  "The history list used by the \\[locate] command.")
-
-(defvar locate-make-command-line 'locate-default-make-command-line
-  "*Function used to create the locate command line.")
+(defgroup locate nil
+  "Interface to the locate command."
+  :prefix "locate-"
+  :group 'external)
 
-(defvar locate-buffer-name "*Locate*"
-  "*Name of the buffer to show results from the \\[locate] command.")
+(defcustom locate-command "locate"
+  "*The executable program used to search a database of files."
+  :type 'string
+  :group 'locate)
 
-(defvar locate-fcodes-file nil
-  "*Database of filenames.")
-
-(defvar locate-mouse-face 'highlight
-  "*Face used to highlight locate entries.")
+(defvar locate-history-list nil
+  "The history list used by the \\[locate] command.")
 
-(defvar locate-header-face 'region
-  "*Face used to highlight the locate header.")
+(defcustom locate-make-command-line 'locate-default-make-command-line
+  "*Function used to create the locate command line."
+  :type 'function
+  :group 'locate)
+
+(defcustom locate-buffer-name "*Locate*"
+  "*Name of the buffer to show results from the \\[locate] command."
+  :type 'string
+  :group 'locate)
+
+(defcustom locate-fcodes-file nil
+  "*Database of filenames."
+  :type 'file
+  :group 'locate)
+
+(defcustom locate-mouse-face 'highlight
+  "*Face used to highlight locate entries."
+  :type 'face
+  :group 'locate)
+
+(defcustom locate-header-face 'region
+  "*Face used to highlight the locate header."
+  :type 'face
+  :group 'locate)
 
 (defvar locate-current-filter nil)