changeset 77503:40acbd9992e2

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:32 +0000
parents 9a42a4441db4
children e082c4d6a1e1
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:34:46 2007 +0000
+++ b/lisp/locate.el	Thu Apr 26 03:43:32 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