aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>2000-09-27 13:49:21 +0000
committerGerd Moellmann <[email protected]>2000-09-27 13:49:21 +0000
commitc9dc81737c872b578814bda37aa20801f6a6416b (patch)
tree3b69f34da9d27beb9ceb13671d736cd178e0d0e3 /lisp
parent5b551d581cc404bbfdc96f67aa98714faa761279 (diff)
(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.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 0d59d35865..88d18acf04 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.