summaryrefslogtreecommitdiff
path: root/lisp/gnus/gmm-utils.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2020-05-11 04:34:55 +0300
committerDmitry Gutov <dgutov@yandex.ru>2020-05-11 04:34:55 +0300
commitf8da04d6fa5a55367c8ed58a79a8ad3a501bc697 (patch)
treeedbf1840a1793f7b6c28bf3a48e8532a1bdd6123 /lisp/gnus/gmm-utils.el
parentb97877470dcf98d02e4bd31ece7bfb862969663f (diff)
downloademacs-f8da04d6fa5a55367c8ed58a79a8ad3a501bc697.tar.gz
Use the "modern" toolbars in Gnus again
* lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Undo the breakage from commit d88118db37dd (https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg02094.html).
Diffstat (limited to 'lisp/gnus/gmm-utils.el')
-rw-r--r--lisp/gnus/gmm-utils.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el
index 2df098bc0bf..6d24b409ed0 100644
--- a/lisp/gnus/gmm-utils.el
+++ b/lisp/gnus/gmm-utils.el
@@ -168,9 +168,9 @@ ARGS are passed to `message'."
(defcustom gmm-tool-bar-style
(if (and (boundp 'tool-bar-mode)
tool-bar-mode
- (memq (display-visual-class)
- (list 'static-gray 'gray-scale
- 'static-color 'pseudo-color)))
+ (not (memq (display-visual-class)
+ (list 'static-gray 'gray-scale
+ 'static-color 'pseudo-color))))
'gnome
'retro)
"Preferred tool bar style."