[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5959a28cce8 2/3: Include `all` in `byte-compile-warnings` defcust
From: |
Mattias Engdegård |
Subject: |
master 5959a28cce8 2/3: Include `all` in `byte-compile-warnings` defcustom type |
Date: |
Fri, 29 Sep 2023 12:03:41 -0400 (EDT) |
branch: master
commit 5959a28cce8643b4a247c6d0e1f82a03534a85e5
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Include `all` in `byte-compile-warnings` defcustom type
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings):
Let "All" mean `all`, not `t`.
---
lisp/emacs-lisp/bytecomp.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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))))