* [PATCH] Fix gnus-thread-hide-subtree defcustom
@ 2016-12-28 13:09 Sergey Organov
2016-12-28 14:58 ` Ted Zlatanov
0 siblings, 1 reply; 3+ messages in thread
From: Sergey Organov @ 2016-12-28 13:09 UTC (permalink / raw)
To: emacs-devel
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix gnus-thread-hide-subtree defcustom
2016-12-28 13:09 [PATCH] Fix gnus-thread-hide-subtree defcustom Sergey Organov
@ 2016-12-28 14:58 ` Ted Zlatanov
2016-12-28 15:38 ` Sergey Organov
0 siblings, 1 reply; 3+ messages in thread
From: Ted Zlatanov @ 2016-12-28 14:58 UTC (permalink / raw)
To: emacs-devel
On Wed, 28 Dec 2016 16:09:28 +0300 Sergey Organov <sorganov@gmail.com> wrote:
SO> * lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): fix order of
SO> items, to prevent first 'sexp' from matching 'nil.
That looks good and it's a tiny change. One minor issue: are you the
"Sergei Organov <osv@javad.com>" that has an earlier tiny change from
2011? If so, I'm not sure if I need to add that to admin/authors.el
(since both changes are tiny).
Thanks
Ted
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix gnus-thread-hide-subtree defcustom
2016-12-28 14:58 ` Ted Zlatanov
@ 2016-12-28 15:38 ` Sergey Organov
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Organov @ 2016-12-28 15:38 UTC (permalink / raw)
To: emacs-devel; +Cc: Ted Zlatanov
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Wed, 28 Dec 2016 16:09:28 +0300 Sergey Organov <sorganov@gmail.com> wrote:
>
> SO> * lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): fix order of
> SO> items, to prevent first 'sexp' from matching 'nil.
>
> That looks good and it's a tiny change. One minor issue: are you the
> "Sergei Organov <osv@javad.com>" that has an earlier tiny change from
> 2011? If so, I'm not sure if I need to add that to admin/authors.el
> (since both changes are tiny).
Yeah, the same person, and I'm not insisting on adding me anywhere.
-- Sergey.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-12-28 15:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28 13:09 [PATCH] Fix gnus-thread-hide-subtree defcustom Sergey Organov
2016-12-28 14:58 ` Ted Zlatanov
2016-12-28 15:38 ` Sergey Organov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.