# HG changeset patch # User Glenn Morris # Date 1177559012 0 # Node ID 40acbd9992e2382131b9f566636b550290eb5b6b # Parent 9a42a4441db4f1d24d09a213f8813c889e100c11 Luc Teirlinck : (locate-in-alternate-database): Doc fix. diff -r 9a42a4441db4 -r 40acbd9992e2 lisp/locate.el --- 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