(frame-update-faces): Unset old font.
This commit is contained in:
parent
79d1123847
commit
99fb9482a8
1 changed files with 3 additions and 0 deletions
|
@ -840,6 +840,9 @@ selected frame."
|
|||
(if (listp font)
|
||||
(let ((bold (memq 'bold font))
|
||||
(italic (memq 'italic font)))
|
||||
;; Ignore any previous (string-valued) font, it might not even
|
||||
;; be the right size anymore.
|
||||
(set-face-font face nil frame)
|
||||
(cond ((and bold italic)
|
||||
(make-face-bold-italic face frame t))
|
||||
(bold
|
||||
|
|
Loading…
Add table
Reference in a new issue