diff options
| author | John Paul Wallington | 2003-05-26 19:15:42 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2003-05-26 19:15:42 +0000 |
| commit | 448bcb402db0a29de6e1dbd266b48d2313585328 (patch) | |
| tree | 61fa109c1bc1c0f018c5e061993ab438b19fdd8d | |
| parent | 8b9266575b536ee7e1f4eae6ea869513d77e0b74 (diff) | |
| download | emacs-448bcb402db0a29de6e1dbd266b48d2313585328.tar.gz emacs-448bcb402db0a29de6e1dbd266b48d2313585328.zip | |
(x-create-frame-with-faces): Call `face-set-after-frame-default'.
(display-supports-face-attributes-p): Doc fix.
| -rw-r--r-- | lisp/faces.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 695aaf31a61..ee3a9d78cb4 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1489,10 +1489,10 @@ with the default face for display, can be represented in a way that's | |||
| 1489 | (1) different in appearance than the default face, and | 1489 | (1) different in appearance than the default face, and |
| 1490 | (2) `close in spirit' to what the attributes specify, if not exact. | 1490 | (2) `close in spirit' to what the attributes specify, if not exact. |
| 1491 | 1491 | ||
| 1492 | Point (2) implies that a `:weight black' attribute will be satisified by | 1492 | Point (2) implies that a `:weight black' attribute will be satisfied by |
| 1493 | any display that can display bold, and a `:foreground \"yellow\"' as long | 1493 | any display that can display bold, and a `:foreground \"yellow\"' as long |
| 1494 | as it can display a yellowish color, but `:slant italic' will _not_ be | 1494 | as it can display a yellowish color, but `:slant italic' will _not_ be |
| 1495 | satisified by the tty display code's automatic substitution of a `dim' | 1495 | satisfied by the tty display code's automatic substitution of a `dim' |
| 1496 | face for italic." | 1496 | face for italic." |
| 1497 | (let ((frame | 1497 | (let ((frame |
| 1498 | (if (framep display) | 1498 | (if (framep display) |
| @@ -1657,8 +1657,7 @@ Value is the new frame created." | |||
| 1657 | (progn | 1657 | (progn |
| 1658 | (x-handle-reverse-video frame parameters) | 1658 | (x-handle-reverse-video frame parameters) |
| 1659 | (frame-set-background-mode frame) | 1659 | (frame-set-background-mode frame) |
| 1660 | ;; No need to call `face-set-after-frame-default' | 1660 | (face-set-after-frame-default frame) |
| 1661 | ;; since x-create-frame does that. | ||
| 1662 | (if (or (null frame-list) (null visibility-spec)) | 1661 | (if (or (null frame-list) (null visibility-spec)) |
| 1663 | (make-frame-visible frame) | 1662 | (make-frame-visible frame) |
| 1664 | (modify-frame-parameters frame (list visibility-spec))) | 1663 | (modify-frame-parameters frame (list visibility-spec))) |