From a9b720ac5030a4ca84e8ebe8436027da0468624c Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Tue, 19 Jun 2018 07:38:47 -0700 Subject: [PATCH] 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 039c1fafa70..54f5d51358f 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. -- 2.39.5