diff lisp/frame.el @ 10192:dd28f1cd68d2

(set-background-color, set-foreground-color): Call frame-update-face-colors.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Dec 1994 20:42:40 +0000
parents 1368ece6ec04
children 87b3ab910738
line wrap: on
line diff
--- a/lisp/frame.el	Tue Dec 20 15:42:57 1994 +0000
+++ b/lisp/frame.el	Tue Dec 20 20:42:40 1994 +0000
@@ -579,14 +579,16 @@
 When called interactively, prompt for the name of the color to use."
   (interactive "sColor: ")
   (modify-frame-parameters (selected-frame)
-			   (list (cons 'background-color color-name))))
+			   (list (cons 'background-color color-name)))
+  (frame-update-face-colors (selected-frame)))
 
 (defun set-foreground-color (color-name)
   "Set the foreground color of the selected frame to COLOR.
 When called interactively, prompt for the name of the color to use."
   (interactive "sColor: ")
   (modify-frame-parameters (selected-frame)
-			   (list (cons 'foreground-color color-name))))
+			   (list (cons 'foreground-color color-name)))
+  (frame-update-face-colors (selected-frame)))
 
 (defun set-cursor-color (color-name)
   "Set the text cursor color of the selected frame to COLOR.