changeset 97048:07311809a1f0

faces.el:face-set-after-frame-default: treat ns as other window systems
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Mon, 28 Jul 2008 01:45:53 +0000
parents c628dd388bdb
children 3346ee3eead4
files lisp/ChangeLog lisp/faces.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Jul 28 01:41:57 2008 +0000
+++ b/lisp/ChangeLog	Mon Jul 28 01:45:53 2008 +0000
@@ -1,3 +1,8 @@
+2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
+
+	* faces.el (face-set-after-frame-default): Treat 'ns as all other
+	window systems.
+
 2008-07-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* term/ns-win.el (do-applescript): New alias in carbon-compat section.
--- a/lisp/faces.el	Mon Jul 28 01:41:57 2008 +0000
+++ b/lisp/faces.el	Mon Jul 28 01:45:53 2008 +0000
@@ -2027,7 +2027,7 @@
 	  ;; X resouces for the default face are applied during
 	  ;; x-create-frame.
 	  (and (not (eq face 'default))
-	       (memq (window-system frame) '(x w32)) 	 
+	       (memq (window-system frame) '(x w32 ns)) 	 
 	       (make-face-x-resource-internal face frame))
 	  ;; Apply attributes specified by face-new-frame-defaults
 	  (internal-merge-in-global-face face frame))