]> git.eshelyaron.com Git - emacs.git/commitdiff
(locate-prompt-for-command): Shorten first line of docstring.
authorLuc Teirlinck <teirllm@auburn.edu>
Fri, 21 May 2004 03:12:10 +0000 (03:12 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Fri, 21 May 2004 03:12:10 +0000 (03:12 +0000)
(locate-mode): Expand docstring and include keymap summary.

lisp/ChangeLog
lisp/locate.el

index 00e75ded5ecc1cd53ee011ab178f4be799b2f1b6..ef439eb1bfc7eba3a401d792692f941a2327afed 100644 (file)
@@ -1,3 +1,9 @@
+2004-05-20  Luc Teirlinck  <teirllm@auburn.edu>
+
+       * locate.el (locate-prompt-for-command): Shorten first line of
+       docstring.
+       (locate-mode): Expand docstring and include keymap summary.
+
 2004-05-20  Luc Teirlinck  <teirllm@auburn.edu>
 
        * files.el (find-file-noselect-1): Limit the scope of the
index eb8074c9f6c70b453743c3429815033b37acd544..e61ec87d4e450c0c4755240d360cd74722677957 100644 (file)
   :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)