Mercurial > emacs
changeset 55711:0033865a2a2f
(locate-prompt-for-command): Shorten first line of docstring.
(locate-mode): Expand docstring and include keymap summary.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Fri, 21 May 2004 03:09:28 +0000 |
parents | 23826e112618 |
children | d8105fad15ae |
files | lisp/locate.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/locate.el Thu May 20 23:32:27 2004 +0000 +++ b/lisp/locate.el Fri May 21 03:09:28 2004 +0000 @@ -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 @@ ;; 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)