]> git.eshelyaron.com Git - emacs.git/commitdiff
Add cl-defgeneric to find-func, too
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Mar 2022 14:07:59 +0000 (15:07 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Mar 2022 14:17:24 +0000 (15:17 +0100)
* lisp/emacs-lisp/find-func.el (find-function-regexp): Add
cl-defgeneric, too (bug#54343).

lisp/emacs-lisp/find-func.el

index 777334a7a70bfbb436cb4381ab60adb15ddfb498..208d68d1ab919c1fd22829d0ab622c473a0b8ada 100644 (file)
@@ -61,7 +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\\)\\|\
+cl-\\(?:defun\\|defmethod\\|generic\\)\\|\
 menu-bar-make-toggle\\|menu-bar-make-toggle-command\\)"
    find-function-space-re
    "\\('\\|(quote \\)?%s\\(\\s-\\|$\\|[()]\\)")