Mercurial > emacs
changeset 7020:c7525f1cfaba
(set-default-font): Call frame-update-faces.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 Apr 1994 08:49:30 +0000 |
parents | 74edb669a7e9 |
children | da5dc735eb50 |
files | lisp/frame.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/frame.el Fri Apr 22 08:47:42 1994 +0000 +++ b/lisp/frame.el Fri Apr 22 08:49:30 1994 +0000 @@ -459,7 +459,9 @@ When called interactively, prompt for the name of the font to use." (interactive "sFont name: ") (modify-frame-parameters (selected-frame) - (list (cons 'font font-name)))) + (list (cons 'font font-name))) + ;; Update faces that want a bold or italic version of the default font. + (frame-update-faces (selected-frame))) (defun set-background-color (color-name) "Set the background color of the selected frame to COLOR.