From: Glenn Morris Date: Thu, 26 Apr 2007 03:43:32 +0000 (+0000) Subject: Luc Teirlinck : X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/169bac43653a350c4a59d49cbcb62e5ae2fd44f8 Luc Teirlinck : (locate-in-alternate-database): Doc fix. --- diff --git a/lisp/locate.el b/lisp/locate.el index 74a76fa488..e00c68029c 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -669,7 +669,12 @@ locate database using the shell command in `locate-update-command'." ;; 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