]> git.eshelyaron.com Git - emacs.git/commit
Warn about bad defcustom :local keyword at compile time
authorStefan Kangas <stefankangas@gmail.com>
Wed, 2 Oct 2024 00:28:52 +0000 (02:28 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 3 Oct 2024 06:42:03 +0000 (08:42 +0200)
commit3f201f8b3ab9959bb640491697aa484a29f1c81a
tree9dfc622dcaf17816e8339b28563b3ba225d850d9
parent7ef76264930f57e321ecb583099abdf04f62d550
Warn about bad defcustom :local keyword at compile time

* lisp/emacs-lisp/bytecomp.el (bytecomp--custom-declare): Warn about
invalid values for the defcustom :local keyword.
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-test-defcustom-local): New test.

(cherry picked from commit fb42a253bdcbdc9f8af5f934cab4aa24d5b541bd)
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el