aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-12-30 19:39:15 +0000
committerRichard M. Stallman2001-12-30 19:39:15 +0000
commitd352297c8eef021bbb6d47b4da511261e4526ed3 (patch)
tree093399b78b820864631a3d6f3fbdac0fcca41750
parent3e5c509173425e0ea24de7d2522841d5e6feae80 (diff)
downloademacs-d352297c8eef021bbb6d47b4da511261e4526ed3.tar.gz
emacs-d352297c8eef021bbb6d47b4da511261e4526ed3.zip
(face-set-after-frame-default): Don't change `default' face.
(minibuffer-prompt): Adopt some default colors.
-rw-r--r--lisp/faces.el16
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 10f27f8b8e1..c564202cab1 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1595,12 +1595,13 @@ Value is the new frame created."
1595 "Set frame-local faces of FRAME from face specs and resources. 1595 "Set frame-local faces of FRAME from face specs and resources.
1596Initialize colors of certain faces from frame parameters." 1596Initialize colors of certain faces from frame parameters."
1597 (dolist (face (face-list)) 1597 (dolist (face (face-list))
1598 (face-spec-set face (face-user-default-spec face) frame) 1598 (when (not (equal face 'default))
1599 (internal-merge-in-global-face face frame) 1599 (face-spec-set face (face-user-default-spec face) frame)
1600 (when (and (memq window-system '(x w32 mac)) 1600 (internal-merge-in-global-face face frame)
1601 (or (not (boundp 'inhibit-default-face-x-resources)) 1601 (when (and (memq window-system '(x w32 mac))
1602 (not (eq face 'default)))) 1602 (or (not (boundp 'inhibit-default-face-x-resources))
1603 (make-face-x-resource-internal face frame))) 1603 (not (eq face 'default))))
1604 (make-face-x-resource-internal face frame))))
1604 1605
1605 ;; Initialize attributes from frame parameters. 1606 ;; Initialize attributes from frame parameters.
1606 (let ((params '((foreground-color default :foreground) 1607 (let ((params '((foreground-color default :foreground)
@@ -1767,7 +1768,8 @@ created."
1767 :group 'basic-faces) 1768 :group 'basic-faces)
1768 1769
1769 1770
1770(defface minibuffer-prompt '((t ())) 1771(defface minibuffer-prompt '((((background dark)) (:foreground "cyan"))
1772 (t (:foreground "dark blue")))
1771 "Face for minibuffer prompts." 1773 "Face for minibuffer prompts."
1772 :version "21.3" 1774 :version "21.3"
1773 :group 'basic-faces) 1775 :group 'basic-faces)