(frame-notice-user-settings): If we change the frame's font,
call frame-update-faces.
This commit is contained in:
parent
985a7a04dc
commit
86e58378af
1 changed files with 4 additions and 1 deletions
|
@ -323,8 +323,11 @@ These supersede the values given in `default-frame-alist'.")
|
|||
(setq newparms
|
||||
(cons (cons (car (car tail)) newval) newparms))))
|
||||
(setq tail (cdr tail)))
|
||||
(setq newparms (nreverse newparms))
|
||||
(modify-frame-parameters frame-initial-frame
|
||||
(nreverse newparms)))))
|
||||
newparms)
|
||||
(if (assq 'font newparms)
|
||||
(frame-update-faces frame-initial-frame)))))
|
||||
|
||||
;; Restore the original buffer.
|
||||
(set-buffer old-buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue