]> git.eshelyaron.com Git - emacs.git/commit
Clean up defcustom type quote check
authorMattias Engdegård <mattiase@acm.org>
Mon, 29 May 2023 15:49:48 +0000 (17:49 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 30 May 2023 07:51:10 +0000 (09:51 +0200)
commit08291e6f1755837d1cc0d5ac940bd39f7bcadd43
treece14cf824626db7114f78fec1f4b0aa2e8bae5b7
parentf8a79c0055f1d60815599af777b5d2c78f9616c3
Clean up defcustom type quote check

* lisp/emacs-lisp/bytecomp.el
(byte-compile--suspicious-defcustom-choice): Rename to...
(byte-compile--defcustom-type-quoted): ...this and rewrite to make
more sense.  All callers updated.
(byte-compile-nogroup-warn): Better warning message.
* test/lisp/emacs-lisp/bytecomp-tests.el
(test-bytecomp-defgroup-choice): This never failed because it wasn't
actually a test.  Turn it into...
(bytecomp-test-defcustom-type-quoted): ...this, which is.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el