diff lisp/locate.el @ 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 84802af12767
children 880a458895b9 92c344270c8a
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