emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master a9b720a: Fix theme application


From: Daniel Colascione
Subject: [Emacs-diffs] master a9b720a: Fix theme application
Date: Tue, 19 Jun 2018 10:39:09 -0400 (EDT)

branch: master
commit a9b720ac5030a4ca84e8ebe8436027da0468624c
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>

    Fix theme application
    
    Fix an inverted test.  Patch due to Andy Moreton.
    
    * lisp/cus-face.el (custom-theme-set-faces): Correct sense of
    `custom--should-apply-setting' test.
---
 lisp/cus-face.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index 039c1fa..54f5d51 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -342,7 +342,7 @@ argument list."
        ;; is aliased to.
        (if (get face 'face-alias)
            (setq face (get face 'face-alias)))
-       (if (custom--should-apply-setting theme)
+       (if (not (custom--should-apply-setting theme))
            ;; Just update theme settings.
            (custom-push-theme 'theme-face face theme 'set spec)
          ;; Update theme settings and set the face spec.



reply via email to

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