emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fcc427f: Fix gnus-thread-hide-subtree defcustom


From: Lars Ingebrigtsen
Subject: master fcc427f: Fix gnus-thread-hide-subtree defcustom
Date: Fri, 25 Oct 2019 06:41:43 -0400 (EDT)

branch: master
commit fcc427f3562e43791ed2ab4370dc2c13e7435849
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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 b5d7448..f21bc75 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]