emacs-diffs
[Top][All Lists]
Advanced

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

master f8da04d 2/2: Use the "modern" toolbars in Gnus again


From: Dmitry Gutov
Subject: master f8da04d 2/2: Use the "modern" toolbars in Gnus again
Date: Sun, 10 May 2020 21:35:17 -0400 (EDT)

branch: master
commit f8da04d6fa5a55367c8ed58a79a8ad3a501bc697
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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).
---
 lisp/gnus/gmm-utils.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el
index 2df098b..6d24b40 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."



reply via email to

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