diff options
| author | Lars Ingebrigtsen | 2019-10-25 12:41:29 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-25 12:41:36 +0200 |
| commit | fcc427f3562e43791ed2ab4370dc2c13e7435849 (patch) | |
| tree | b073357e0423418bba3ca888d1b142c7bd79c024 | |
| parent | f131e396f8a32003b795456130ea37efa6ff41eb (diff) | |
| download | emacs-fcc427f3562e43791ed2ab4370dc2c13e7435849.tar.gz emacs-fcc427f3562e43791ed2ab4370dc2c13e7435849.zip | |
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).
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
| 334 | :group 'gnus-thread | 334 | :group 'gnus-thread |
| 335 | :type '(radio (sexp :format "Non-nil\n" | 335 | :type '(radio (sexp :format "Non-nil\n" |
| 336 | :match (lambda (widget value) | 336 | :match (lambda (widget value) |
| 337 | (not (or (consp value) (functionp value)))) | 337 | (and value (not (functionp value)))) |
| 338 | :value t) | 338 | :value t) |
| 339 | (const nil) | 339 | (const nil) |
| 340 | (sexp :tag "Predicate specifier"))) | 340 | (sexp :tag "Predicate specifier"))) |