[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 84f59f7585 2/2: Make find-function-regexp also find cl-defun/defm
From: |
Lars Ingebrigtsen |
Subject: |
master 84f59f7585 2/2: Make find-function-regexp also find cl-defun/defmethod |
Date: |
Sat, 12 Mar 2022 12:54:50 -0500 (EST) |
branch: master
commit 84f59f75853704520323fb37edee4fe03d2f3021
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make find-function-regexp also find cl-defun/defmethod
* lisp/emacs-lisp/find-func.el (find-function-regexp): Also find
cl-defun and cl-defmethod (bug#54343).
---
lisp/emacs-lisp/find-func.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 571087c963..777334a7a7 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -61,6 +61,7 @@
"^\\s-*(\\(def\\(ine-skeleton\\|ine-generic-mode\\|ine-derived-mode\\|\
ine\\(?:-global\\)?-minor-mode\\|ine-compilation-mode\\|un-cvs-mode\\|\
foo\\|\\(?:[^icfgv]\\|g[^r]\\)\\(\\w\\|\\s_\\)+\\*?\\)\\|easy-mmode-define-[a-z-]+\\|easy-menu-define\\|\
+cl-\\(?:defun\\|defmethod\\)\\|\
menu-bar-make-toggle\\|menu-bar-make-toggle-command\\)"
find-function-space-re
"\\('\\|(quote \\)?%s\\(\\s-\\|$\\|[()]\\)")