]> git.eshelyaron.com Git - emacs.git/commit
Make checkdoc warn if not using lexical-binding
authorStefan Kangas <stefankangas@gmail.com>
Fri, 9 Dec 2022 09:58:22 +0000 (10:58 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 1 Sep 2023 20:05:35 +0000 (22:05 +0200)
commit7d60d1652fc107c81c95cc7f7406a720996f3b8e
tree37a90f903f18251866532062cbc22083e325de62
parent05a7c91b91c02c34ec6527119a465e5408dea2b1
Make checkdoc warn if not using lexical-binding

* lisp/emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
Warn if there is no lexical-binding cookie.  (Bug#59920)
(checkdoc-lexical-binding-flag): New user option.
etc/NEWS
lisp/emacs-lisp/checkdoc.el