]> git.eshelyaron.com Git - emacs.git/commit
checkdoc: Don't warn for () in cl-defmacro args
authorStefan Kangas <stefankangas@gmail.com>
Sun, 3 Sep 2023 13:02:05 +0000 (15:02 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 3 Sep 2023 13:39:16 +0000 (15:39 +0200)
commit6e1ee57c8ef58c9426ed55e5255c2527f45549a4
treecbc11aaa22f88c86e5ffbe33659acf31578639f3
parent328f96ea9e869a4c1677285cd91df312824b6a04
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.
lisp/emacs-lisp/checkdoc.el