master 97d9f7df247: ; Fix defcustom of byte-compile-warnings
Michael Heerdegen via Mailing list for Emacs changes <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: master commit 97d9f7df2473a6a4b80975c86d82ac11477e8137 Author: Michael Heerdegen <[email protected]> Commit: Michael Heerdegen <[email protected]> ; Fix defcustom of byte-compile-warnings * lisp/emacs-lisp/bytecomp.el (byte-compile-warnings): Fix :type. (Bug#81226) --- lisp/emacs-lisp/bytecomp.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index b1875dc2bcf..e3d8862727b 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -358,7 +358,11 @@ A value of `all' really means all." (const :tag "All" all) (set :menu-tag "Some" ,@(mapcar (lambda (x) `(const ,x)) - byte-compile-warning-types)))) + byte-compile-warning-types)) + (cons :tag "All Except" + (const :tag "Not" not) + (set ,@(mapcar (lambda (x) `(const ,x)) + byte-compile-warning-types))))) (defconst byte-compile--emacs-build-warning-types '(docstrings-non-ascii-quotes)