checkdoc: Don't warn for () in cl-defmacro args
Seen with, for example: (cl-defmacro foo (bar () &body baz) ...) * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Improve support for `cl-defmacro' by ignoring "nil" in parameter list.
This commit is contained in:
parent
328f96ea9e
commit
6e1ee57c8e
1 changed files with 1 additions and 1 deletions
|
@ -1793,7 +1793,7 @@ function,command,variable,option or symbol." ms1))))))
|
|||
(order (and (nth 3 fp) (car (nth 3 fp))))
|
||||
(nocheck (append '("&optional" "&rest" "&key" "&aux"
|
||||
"&context" "&environment" "&whole"
|
||||
"&body" "&allow-other-keys")
|
||||
"&body" "&allow-other-keys" "nil")
|
||||
(nth 3 fp)))
|
||||
(inopts nil))
|
||||
(while (and args found (> found last-pos))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue