changeset 77561:8823a1f17d51

Luc Teirlinck <teirllm at dms.auburn.edu>: (locate-in-alternate-database): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 26 Apr 2007 03:43:10 +0000
parents b49c21c942c2
children a6ee1485ce53
files lisp/locate.el
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/locate.el	Thu Apr 26 03:42:42 2007 +0000
+++ b/lisp/locate.el	Thu Apr 26 03:43:10 2007 +0000
@@ -669,7 +669,12 @@
 
 ;; Only for GNU locate
 (defun locate-in-alternate-database  (search-string database)
-  "Run the GNU locate command, using an alternate database."
+  "Run the GNU locate command, using an alternate database.
+
+This command only works if you use GNU locate.  It does not work
+properly if `locate-prompt-for-command' is set to t.  In that
+case, you can just run the regular `locate' command and specify
+the database on the command line."
   (interactive
       (list
        (progn