]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-frame-font): Remove call to obsolete function
authorGerd Moellmann <gerd@gnu.org>
Wed, 27 Sep 2000 13:49:21 +0000 (13:49 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 27 Sep 2000 13:49:21 +0000 (13:49 +0000)
frame-update-faces.
(set-foreground-color, set-background-color): Likewise for
frame-update-face-colors.

lisp/frame.el

index 0d59d358655775aaaf8675836b2f00d6cf8b34a1..88d18acf04d54f70c52eb8d426fa7f212ea13c04 100644 (file)
@@ -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.