Commit 4033f46b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(set-default-font): Call frame-update-faces.

parent 9d52c8d3
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment