diff options
| author | Richard M. Stallman | 1997-05-26 01:30:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-26 01:30:07 +0000 |
| commit | f020126027c3ad6266b6e12ff424d51bc6fe4f71 (patch) | |
| tree | 41715064210a9998b74505f96e094b1bbf69c242 | |
| parent | aafc86d21d5957621358af13bdfae332ddaa6913 (diff) | |
| download | emacs-f020126027c3ad6266b6e12ff424d51bc6fe4f71.tar.gz emacs-f020126027c3ad6266b6e12ff424d51bc6fe4f71.zip | |
(x-create-frame-with-faces): Don't call frame-set-background-mode
until after handling the reverse-video parameter.
| -rw-r--r-- | lisp/faces.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index 060a78cf9d3..27092e18c17 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1206,7 +1206,6 @@ If FRAME is nil, the current FRAME is used." | |||
| 1206 | (let* ((visibility-spec (assq 'visibility parameters)) | 1206 | (let* ((visibility-spec (assq 'visibility parameters)) |
| 1207 | success faces rest) | 1207 | success faces rest) |
| 1208 | (setq frame (x-create-frame (cons '(visibility . nil) parameters))) | 1208 | (setq frame (x-create-frame (cons '(visibility . nil) parameters))) |
| 1209 | (frame-set-background-mode frame) | ||
| 1210 | (unwind-protect | 1209 | (unwind-protect |
| 1211 | (progn | 1210 | (progn |
| 1212 | 1211 | ||
| @@ -1247,6 +1246,8 @@ If FRAME is nil, the current FRAME is used." | |||
| 1247 | (modify-frame-parameters frame | 1246 | (modify-frame-parameters frame |
| 1248 | (list (cons 'cursor-color fg)))))) | 1247 | (list (cons 'cursor-color fg)))))) |
| 1249 | 1248 | ||
| 1249 | (frame-set-background-mode frame) | ||
| 1250 | |||
| 1250 | ;; Set up faces from the defface information | 1251 | ;; Set up faces from the defface information |
| 1251 | (mapcar (lambda (symbol) | 1252 | (mapcar (lambda (symbol) |
| 1252 | (let ((spec (or (get symbol 'saved-face) | 1253 | (let ((spec (or (get symbol 'saved-face) |