From fcc427f3562e43791ed2ab4370dc2c13e7435849 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 25 Oct 2019 12:41:29 +0200 Subject: [PATCH] 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). --- lisp/gnus/gnus-sum.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index b5d744843f0..f21bc7584e5 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -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")))