mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
Fix gnus-thread-hide-subtree defcustom
* lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): Make the "Non-nil" predicate do what it's supposed to (i.e., return non-nil on non-nil values (excepting predicates)) (bug#37916).
This commit is contained in:
parent
f131e396f8
commit
fcc427f356
@ -334,7 +334,7 @@ If threads are hidden, you have to run the command
|
||||
:group 'gnus-thread
|
||||
:type '(radio (sexp :format "Non-nil\n"
|
||||
:match (lambda (widget value)
|
||||
(not (or (consp value) (functionp value))))
|
||||
(and value (not (functionp value))))
|
||||
:value t)
|
||||
(const nil)
|
||||
(sexp :tag "Predicate specifier")))
|
||||
|
Loading…
Reference in New Issue
Block a user