faces.el:face-set-after-frame-default: treat ns as other window systems
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 28 Jul 2008 01:45:53 +0000 (01:45 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Mon, 28 Jul 2008 01:45:53 +0000 (01:45 +0000)
lisp/ChangeLog
lisp/faces.el

index 9cee8b4..13e49d3 100644 (file)
@@ -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.
index c42298f..76bb029 100644 (file)
@@ -2027,7 +2027,7 @@ frame parameters in PARAMETERS and `default-frame-alist'."
          ;; 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))