emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] Fix gnus-thread-hide-subtree defcustom


From: Sergey Organov
Subject: [PATCH] Fix gnus-thread-hide-subtree defcustom
Date: Wed, 28 Dec 2016 16:09:28 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

* lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): fix order of
items, to prevent first 'sexp' from matching 'nil.
---
 lisp/gnus/gnus-sum.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index b6023c2..b4c61ed 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -290,11 +290,11 @@ This can be a predicate specifier which says which 
threads to hide.
 If threads are hidden, you have to run the command
 `gnus-summary-show-thread' by hand or select an article."
   :group 'gnus-thread
-  :type '(radio (sexp :format "Non-nil\n"
+  :type '(radio (const nil)
+               (sexp :format "Non-nil\n"
                      :match (lambda (widget value)
                               (not (or (consp value) (functionp value))))
                      :value t)
-               (const nil)
                (sexp :tag "Predicate specifier")))
 
 (defcustom gnus-thread-hide-killed t
-- 
2.1.4





reply via email to

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