From 9720e1a96ed78fb86b24787f9986f14bad108c96 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 28 Mar 2025 09:32:29 +0300 Subject: ; Fix documentation of a recently-installed change * lisp/emacs-lisp/find-func.el (find-function-regexp-alist): Doc fix. * doc/lispref/functions.texi (Finding Definitions): Fix wording and markup. * etc/NEWS: Move the new item where it belongs. --- lisp/emacs-lisp/find-func.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lisp/emacs-lisp') diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index c2101617ac3..8f488a9c00a 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el @@ -146,13 +146,13 @@ we're looking for) and it should search for it. A value can also be a cons (REGEX . EXPANDED-FORM-MATCHER-FACTORY). REGEX is as above; EXPANDED-FORM-MATCHER-FACTORY is a function of one -argument, the same as we'd pass to a REGEX function, that returns -another function of one argument that returns true if we're looking at a -macroexpanded form that defines what we're looking for. If you want to -use EXPANDED-FORM-MATCHER-FACTORY exclusively, you can set REGEX to a -never-match regex and force the fallback to -EXPANDED-FORM-MATCHER-FACTORY. The buffer to search is current during -the call to EXPANDED-FORM-MATCHER-FACTORY. +argument, the same object we'd pass to a REGEX function; it should return +another function of one argument that returns non-nil if we're looking at +a macroexpanded form that defines the object we're looking for. +If you want to use EXPANDED-FORM-MATCHER-FACTORY exclusively, you can +set REGEX to a never-match regexp, and force the fallback to +EXPANDED-FORM-MATCHER-FACTORY. EXPANDED-FORM-MATCHER-FACTORY is +called with the buffer to search the current one. Symbols can have their own version of this alist on the property `find-function-type-alist'. -- cgit v1.2.3