summaryrefslogtreecommitdiff
path: root/lisp/locate.el
diff options
context:
space:
mode:
authorStephen Eglen <stephen@gnu.org>1998-02-04 19:24:34 +0000
committerStephen Eglen <stephen@gnu.org>1998-02-04 19:24:34 +0000
commitd979dc2b3de16b2070f7176d31d96e74132f0abf (patch)
tree51f3929faf6732d752946d77586b4309167718a0 /lisp/locate.el
parentb499b50bea1f8890892077391074ad6bf5373488 (diff)
downloademacs-d979dc2b3de16b2070f7176d31d96e74132f0abf.tar.gz
Customized.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r--lisp/locate.el50
1 files changed, 34 insertions, 16 deletions
diff --git a/lisp/locate.el b/lisp/locate.el
index 90501845498..3c89e02ec23 100644
--- a/lisp/locate.el
+++ b/lisp/locate.el
@@ -118,26 +118,44 @@
(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)