From 98788bf9768fec915c745aae8c9196636ffeaecc Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 29 Dec 2019 14:28:22 +0300 Subject: [PATCH] ; Improve the docstring some more --- lisp/progmodes/xref.el | 5 +++-- 1 file 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) -- 2.39.2