]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-default-font): Call frame-update-faces.
authorRichard M. Stallman <rms@gnu.org>
Fri, 22 Apr 1994 08:49:30 +0000 (08:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 22 Apr 1994 08:49:30 +0000 (08:49 +0000)
lisp/frame.el

index 9ef36acf308787656884528c4c015ed1b0f10d79..1083037b0150074e59ef5f6150b3c08a2c789295 100644 (file)
@@ -459,7 +459,9 @@ If FRAME is omitted, describe the currently selected frame."
 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.