# HG changeset patch # User Glenn Morris # Date 1177558990 0 # Node ID 8823a1f17d51766a92ff8b2b9d7f702f8d2a6ffb # Parent b49c21c942c22d4968f347b9cbcb44ae972bc497 Luc Teirlinck : (locate-in-alternate-database): Doc fix. diff -r b49c21c942c2 -r 8823a1f17d51 lisp/locate.el --- 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