diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-09-27 13:49:21 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-09-27 13:49:21 +0000 |
commit | c9dc81737c872b578814bda37aa20801f6a6416b (patch) | |
tree | 3b69f34da9d27beb9ceb13671d736cd178e0d0e3 /lisp | |
parent | 5b551d581cc404bbfdc96f67aa98714faa761279 (diff) | |
download | emacs-c9dc81737c872b578814bda37aa20801f6a6416b.tar.gz |
(set-frame-font): Remove call to obsolete function
frame-update-faces.
(set-foreground-color, set-background-color): Likewise for
frame-update-face-colors.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/frame.el | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 0d59d358655..88d18acf04d 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -715,8 +715,6 @@ To get the frame's current default font, use `frame-parameters'." (x-list-fonts "*" nil (selected-frame))))))) (modify-frame-parameters (selected-frame) (list (cons 'font font-name))) - ;; Update faces that want a bold or italic version of the default font. - (frame-update-faces (selected-frame)) (run-hooks 'after-setting-font-hooks)) (defun set-background-color (color-name) @@ -725,8 +723,7 @@ When called interactively, prompt for the name of the color to use. To get the frame's current background color, use `frame-parameters'." (interactive (list (facemenu-read-color))) (modify-frame-parameters (selected-frame) - (list (cons 'background-color color-name))) - (frame-update-face-colors (selected-frame))) + (list (cons 'background-color color-name)))) (defun set-foreground-color (color-name) "Set the foreground color of the selected frame to COLOR-NAME. @@ -734,8 +731,7 @@ When called interactively, prompt for the name of the color to use. To get the frame's current foreground color, use `frame-parameters'." (interactive (list (facemenu-read-color))) (modify-frame-parameters (selected-frame) - (list (cons 'foreground-color color-name))) - (frame-update-face-colors (selected-frame))) + (list (cons 'foreground-color color-name)))) (defun set-cursor-color (color-name) "Set the text cursor color of the selected frame to COLOR-NAME. |