]> git.eshelyaron.com Git - emacs.git/commitdiff
Really fix find-func for defgeneric
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Mar 2022 20:15:35 +0000 (21:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 13 Mar 2022 20:15:35 +0000 (21:15 +0100)
* lisp/emacs-lisp/find-func.el (find-function-regexp): Really add
defgeneric.

lisp/emacs-lisp/find-func.el

index 208d68d1ab919c1fd22829d0ab622c473a0b8ada..96eaf1ab642d0f9e36b22aa9dae01b42688756e1 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\\|generic\\)\\|\
+cl-\\(?:defun\\|defmethod\\|defgeneric\\)\\|\
 menu-bar-make-toggle\\|menu-bar-make-toggle-command\\)"
    find-function-space-re
    "\\('\\|(quote \\)?%s\\(\\s-\\|$\\|[()]\\)")