aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2014-04-14 17:38:43 +0200
committerJuanma Barranquero2014-04-14 17:38:43 +0200
commitb92583c4bf4a6df612dfcef7e9c5d2a625bee04a (patch)
treee152dd965eda615378e8a4f27286b42e1bd93dfb
parent6956b278cd1c1584b0dd87823a164e4cf420f6ae (diff)
downloademacs-b92583c4bf4a6df612dfcef7e9c5d2a625bee04a.tar.gz
emacs-b92583c4bf4a6df612dfcef7e9c5d2a625bee04a.zip
lisp/faces.el (face-set-after-frame-default): Remove unused local variable.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/faces.el21
2 files changed, 14 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fd433562d0e..beb357ac85b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12014-04-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * faces.el (face-set-after-frame-default): Remove unused local variable.
4
12014-04-12 Stefan Monnier <monnier@iro.umontreal.ca> 52014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * progmodes/grep.el: Use lexical-binding. 7 * progmodes/grep.el: Use lexical-binding.
diff --git a/lisp/faces.el b/lisp/faces.el
index f2ab81bc064..9c115473542 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2059,17 +2059,16 @@ Calculate the face definitions using the face specs, custom theme
2059settings, X resources, and `face-new-frame-defaults'. 2059settings, X resources, and `face-new-frame-defaults'.
2060Finally, apply any relevant face attributes found amongst the 2060Finally, apply any relevant face attributes found amongst the
2061frame parameters in PARAMETERS." 2061frame parameters in PARAMETERS."
2062 (let ((window-system-p (memq (window-system frame) '(x w32)))) 2062 ;; The `reverse' is so that `default' goes first.
2063 ;; The `reverse' is so that `default' goes first. 2063 (dolist (face (nreverse (face-list)))
2064 (dolist (face (nreverse (face-list))) 2064 (condition-case ()
2065 (condition-case () 2065 (progn
2066 (progn 2066 ;; Initialize faces from face spec and custom theme.
2067 ;; Initialize faces from face spec and custom theme. 2067 (face-spec-recalc face frame)
2068 (face-spec-recalc face frame) 2068 ;; Apply attributes specified by face-new-frame-defaults
2069 ;; Apply attributes specified by face-new-frame-defaults 2069 (internal-merge-in-global-face face frame))
2070 (internal-merge-in-global-face face frame)) 2070 ;; Don't let invalid specs prevent frame creation.
2071 ;; Don't let invalid specs prevent frame creation. 2071 (error nil)))
2072 (error nil))))
2073 2072
2074 ;; Apply attributes specified by frame parameters. 2073 ;; Apply attributes specified by frame parameters.
2075 (let ((face-params '((foreground-color default :foreground) 2074 (let ((face-params '((foreground-color default :foreground)