diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2023-09-29 15:00:45 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2023-09-29 17:59:50 +0200 |
commit | 5959a28cce8643b4a247c6d0e1f82a03534a85e5 (patch) | |
tree | a2baa62df6f2cf9f1c78d53de701ae423d40611b /lisp/emacs-lisp/bytecomp.el | |
parent | a89c86888c41c922e5dc6a4c9cfb303a7bd3ab4f (diff) | |
download | emacs-5959a28cce8643b4a247c6d0e1f82a03534a85e5.tar.gz emacs-5959a28cce8643b4a247c6d0e1f82a03534a85e5.tar.bz2 emacs-5959a28cce8643b4a247c6d0e1f82a03534a85e5.zip |
Include `all` in `byte-compile-warnings` defcustom type
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings):
Let "All" mean `all`, not `t`.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 387d7ef4de1..6188c0b74fd 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -339,7 +339,8 @@ suppress. For example, (not free-vars) will suppress the `free-vars' warning. The t value means \"all non experimental warning types\", and excludes the types in `byte-compile--emacs-build-warning-types'. A value of `all' really means all." - :type `(choice (const :tag "All" t) + :type `(choice (const :tag "Default selection" t) + (const :tag "All" all) (set :menu-tag "Some" ,@(mapcar (lambda (x) `(const ,x)) byte-compile-warning-types)))) |