diff options
author | Glenn Morris <rgm@gnu.org> | 2007-04-26 03:43:10 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-04-26 03:43:10 +0000 |
commit | 8baa97f9c508c981f3052ebb0766bfa511ec0cbe (patch) | |
tree | 09ed3fa60d1f6b90ace100831d583e3d02c53e40 /lisp/locate.el | |
parent | 36f1d957788fb8bccbb9395146b7b26fc83e4314 (diff) | |
download | emacs-8baa97f9c508c981f3052ebb0766bfa511ec0cbe.tar.gz |
Luc Teirlinck <teirllm at dms.auburn.edu>:
(locate-in-alternate-database): Doc fix.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r-- | lisp/locate.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/locate.el b/lisp/locate.el index 74a76fa4889..e00c68029cb 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 |