summaryrefslogtreecommitdiff
path: root/lisp/misearch.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-02-13 22:59:24 -0800
committerGlenn Morris <rgm@gnu.org>2014-02-13 22:59:24 -0800
commitb2bf2a254fba3ec86fb763a95289f51251428ac4 (patch)
tree1a623d1ad69e6ddb80baa754555fb216caa08383 /lisp/misearch.el
parent48c4f9b124a17b4056e0b93f490befb09947f410 (diff)
downloademacs-b2bf2a254fba3ec86fb763a95289f51251428ac4.tar.gz
Mention read-regexp in doc of functions that use it
* lisp/dired.el (dired-read-regexp): * lisp/faces.el (list-faces-display): * lisp/misearch.el (multi-isearch-read-matching-buffers) (multi-isearch-read-matching-files): * lisp/play/cookie1.el (cookie-apropos): * lisp/progmodes/grep.el (grep-read-regexp): Doc fixes.
Diffstat (limited to 'lisp/misearch.el')
-rw-r--r--lisp/misearch.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/misearch.el b/lisp/misearch.el
index af3b1b45b2b..64ea40b7a1d 100644
--- a/lisp/misearch.el
+++ b/lisp/misearch.el
@@ -239,7 +239,8 @@ set in `multi-isearch-buffers' or `multi-isearch-buffers-regexp'."
(nreverse bufs)))
(defun multi-isearch-read-matching-buffers ()
- "Return a list of buffers whose names match specified regexp."
+ "Return a list of buffers whose names match specified regexp.
+Uses `read-regexp' to read the regexp."
;; Most code from `multi-occur-in-matching-buffers'
;; and `kill-matching-buffers'.
(let ((bufregexp
@@ -322,8 +323,10 @@ Every next/previous file in the defined sequence is visited by
(add-to-list 'files file))
(nreverse files)))
+;; A regexp is not the same thing as a file glob - does this matter?
(defun multi-isearch-read-matching-files ()
- "Return a list of files whose names match specified wildcard."
+ "Return a list of files whose names match specified wildcard.
+Uses `read-regexp' to read the wildcard."
;; Most wildcard code from `find-file-noselect'.
(let ((filename (read-regexp "Search in files whose names match wildcard")))
(when (and filename