summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/find-func.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-03-28 09:32:29 +0300
committerEli Zaretskii <eliz@gnu.org>2025-03-28 09:32:29 +0300
commit9720e1a96ed78fb86b24787f9986f14bad108c96 (patch)
tree3bb88af290701d502419baa2f2bdb68d976d2387 /lisp/emacs-lisp/find-func.el
parent01f4a0cb6cb15fbbc28e64abd94cb38604a24672 (diff)
downloademacs-9720e1a96ed78fb86b24787f9986f14bad108c96.tar.gz
emacs-9720e1a96ed78fb86b24787f9986f14bad108c96.tar.bz2
emacs-9720e1a96ed78fb86b24787f9986f14bad108c96.zip
; 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.
Diffstat (limited to 'lisp/emacs-lisp/find-func.el')
-rw-r--r--lisp/emacs-lisp/find-func.el14
1 files changed, 7 insertions, 7 deletions
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'.