summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/xref.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 9c806d70ce4..a9d41258471 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -1162,10 +1162,11 @@ and when."
;;;###autoload
(defun xref-collect-matches (regexp files dir ignores)
- "Find all matches for REGEXP in FILES in directory DIR.
+ "Find all matches for REGEXP in directory DIR.
Return a list of xref values.
+Only files matching some of FILES and none of IGNORES are searched.
FILES is a string with glob patterns separated by spaces.
-IGNORES is a list of glob patterns."
+IGNORES is a list of glob patterns for files to ignore."
;; DIR can also be a regular file for now; let's not advertise that.
(grep-compute-defaults)
(defvar grep-find-template)