diff options
| author | Karl Heuer | 1994-04-27 00:30:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-27 00:30:55 +0000 |
| commit | 99fb9482a869ffded02cf40a7a760f71fc46bfab (patch) | |
| tree | 20af83818985e5b307c1b55ad04330ac6e86e810 | |
| parent | 79d112384776502176edd8c21e0d727d078c2f6b (diff) | |
| download | emacs-99fb9482a869ffded02cf40a7a760f71fc46bfab.tar.gz emacs-99fb9482a869ffded02cf40a7a760f71fc46bfab.zip | |
(frame-update-faces): Unset old font.
| -rw-r--r-- | lisp/faces.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index bb506e6812a..36336f9b360 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -840,6 +840,9 @@ selected frame." | |||
| 840 | (if (listp font) | 840 | (if (listp font) |
| 841 | (let ((bold (memq 'bold font)) | 841 | (let ((bold (memq 'bold font)) |
| 842 | (italic (memq 'italic font))) | 842 | (italic (memq 'italic font))) |
| 843 | ;; Ignore any previous (string-valued) font, it might not even | ||
| 844 | ;; be the right size anymore. | ||
| 845 | (set-face-font face nil frame) | ||
| 843 | (cond ((and bold italic) | 846 | (cond ((and bold italic) |
| 844 | (make-face-bold-italic face frame t)) | 847 | (make-face-bold-italic face frame t)) |
| 845 | (bold | 848 | (bold |