aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/locate.el7
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'."
669 669
670;; Only for GNU locate 670;; Only for GNU locate
671(defun locate-in-alternate-database (search-string database) 671(defun locate-in-alternate-database (search-string database)
672 "Run the GNU locate command, using an alternate database." 672 "Run the GNU locate command, using an alternate database.
673
674This command only works if you use GNU locate. It does not work
675properly if `locate-prompt-for-command' is set to t. In that
676case, you can just run the regular `locate' command and specify
677the database on the command line."
673 (interactive 678 (interactive
674 (list 679 (list
675 (progn 680 (progn