]> git.eshelyaron.com Git - emacs.git/commit
Warn about quoted symbols in defcustom choice/other forms
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 May 2022 10:51:11 +0000 (12:51 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 11 May 2022 10:51:11 +0000 (12:51 +0200)
commit231cf5ee2bed8a2b574ad424b624b36c0ee0733f
tree33fc90e66dbec5f0a990b14d27c35c6bb9946a93
parent5a121485037a21d03449bc955476c253c89e3671
Warn about quoted symbols in defcustom choice/other forms

* lisp/emacs-lisp/bytecomp.el
(byte-compile--suspicious-defcustom-choice): New function (bug#16271).
(byte-compile-nogroup-warn): Use it to warn about forms like
(choice (const :tag "foo" 'bar)).
etc/NEWS
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el