]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-background-color, set-foreground-color):
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 Dec 1994 20:42:40 +0000 (20:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 Dec 1994 20:42:40 +0000 (20:42 +0000)
Call frame-update-face-colors.

lisp/frame.el

index b3c599aae777ec8d2694167015e8a7b36f282a6d..59d868ee48b4f1bc43e002e534c953b2c13acc23 100644 (file)
@@ -579,14 +579,16 @@ When called interactively, prompt for the name of the font to use."
 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.