Make check-declare understand cl-defun
* lisp/emacs-lisp/check-declare.el (check-declare-verify): Add cl-defun to the defun-ish regexp (bug#31396).
This commit is contained in:
parent
d4c2b3ca64
commit
5a90307351
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ is a string giving details of the error."
|
|||
(setq re (format (if cflag
|
||||
"^[ \t]*\\(DEFUN\\)[ \t]*([ \t]*\"%s\""
|
||||
"^[ \t]*(\\(fset[ \t]+'\\|\
|
||||
cl-def\\(?:generic\\|method\\)\\|\
|
||||
cl-def\\(?:generic\\|method\\|un\\)\\|\
|
||||
def\\(?:un\\|subst\\|foo\\|method\\|class\\|\
|
||||
ine-\\(?:derived\\|generic\\|\\(?:global\\(?:ized\\)?-\\)?minor\\)-mode\\|\
|
||||
\\(?:ine-obsolete-function-\\)?alias[ \t]+'\\|\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue