From: Dmitry Gutov Date: Sun, 29 Dec 2019 11:28:22 +0000 (+0300) Subject: ; Improve the docstring some more X-Git-Tag: emacs-27.0.90~260 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98788bf976;p=emacs.git ; Improve the docstring some more --- 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)