diff options
author | Luc Teirlinck <teirllm@auburn.edu> | 2004-05-21 03:12:10 +0000 |
---|---|---|
committer | Luc Teirlinck <teirllm@auburn.edu> | 2004-05-21 03:12:10 +0000 |
commit | 442c81502876dcac94635394af200d37fca75b18 (patch) | |
tree | 40bbaaaa3fb0d2d22a9aafd71f23bdeef8bb2607 /lisp/locate.el | |
parent | 4edcfd1772d0f58c6000a41b9ae3ab7796266e47 (diff) | |
download | emacs-442c81502876dcac94635394af200d37fca75b18.tar.gz |
(locate-prompt-for-command): Shorten first line of docstring.
(locate-mode): Expand docstring and include keymap summary.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r-- | lisp/locate.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/locate.el b/lisp/locate.el index eb8074c9f6c..e61ec87d4e4 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -160,7 +160,7 @@ :group 'locate) (defcustom locate-prompt-for-command nil - "If non-nil, the default behavior of the locate command is to prompt for a command to run. + "If non-nil, the locate command prompts for a command to run. Otherwise, that behavior is invoked via a prefix argument." :group 'locate :type 'boolean @@ -329,7 +329,11 @@ shown; this is often useful to constrain a big search." ;; Default directory is set to "/" so that dired commands, which ;; expect to be in a tree, will work properly (defun locate-mode () - "Major mode for the `*Locate*' buffer made by \\[locate]." + "Major mode for the `*Locate*' buffer made by \\[locate]. +In that buffer, you can use almost all the usual dired bindings. +\\[locate-find-directory] visits the directory of the file on the current line. + +\\{locate-mode-map}" (kill-all-local-variables) ;; Avoid clobbering this variables (make-local-variable 'dired-subdir-alist) |