]> code.delx.au - gnu-emacs/blobdiff - lisp/locate.el
(locate-with-filter): Doc fix.
[gnu-emacs] / lisp / locate.el
index 947f8aa7deb3755ddcd4fa1bef138be327b5db05..7d044d03a0ed4404f88e533faf8cbb78ac094884 100644 (file)
@@ -218,7 +218,10 @@ With prefix arg, prompt for the locate command to run."
 
 ;;;###autoload
 (defun locate-with-filter (search-string filter)
-  "Run the locate command with a filter."
+  "Run the locate command with a filter.
+
+The filter is a regular expression. Only results matching the filter are
+shown; this is often useful to constrain a big search."
   (interactive
    (list (read-from-minibuffer "Locate: " nil nil
                               nil 'locate-history-list)