aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorJuri Linkov2005-06-21 16:14:34 +0000
committerJuri Linkov2005-06-21 16:14:34 +0000
commitc20577bc3fa147359bf2f3df1bf39405ea2bd227 (patch)
treeca37bfd08afab18f55f0bc0c39966582ea0fe742 /src/xfaces.c
parent9b0ad2cbac63d420026433630fa8564b24334b2b (diff)
downloademacs-c20577bc3fa147359bf2f3df1bf39405ea2bd227.tar.gz
emacs-c20577bc3fa147359bf2f3df1bf39405ea2bd227.zip
Rename obsolete function Qframe_update_face_colors to
Qframe_set_background_mode.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index b7ed50d35fe..a2b9882afbf 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -316,9 +316,9 @@ Lisp_Object Qunspecified;
316char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; 316char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg";
317 317
318/* The name of the function to call when the background of the frame 318/* The name of the function to call when the background of the frame
319 has changed, frame_update_face_colors. */ 319 has changed, frame_set_background_mode. */
320 320
321Lisp_Object Qframe_update_face_colors; 321Lisp_Object Qframe_set_background_mode;
322 322
323/* Names of basic faces. */ 323/* Names of basic faces. */
324 324
@@ -4509,10 +4509,10 @@ update_face_from_frame_parameter (f, param, new_value)
4509 Lisp_Object frame; 4509 Lisp_Object frame;
4510 4510
4511 /* Changing the background color might change the background 4511 /* Changing the background color might change the background
4512 mode, so that we have to load new defface specs. Call 4512 mode, so that we have to load new defface specs.
4513 frame-update-face-colors to do that. */ 4513 Call frame-set-background-mode to do that. */
4514 XSETFRAME (frame, f); 4514 XSETFRAME (frame, f);
4515 call1 (Qframe_update_face_colors, frame); 4515 call1 (Qframe_set_background_mode, frame);
4516 4516
4517 face = Qdefault; 4517 face = Qdefault;
4518 lface = lface_from_face_name (f, face, 1); 4518 lface = lface_from_face_name (f, face, 1);
@@ -7887,8 +7887,8 @@ syms_of_xfaces ()
7887 staticpro (&Qface_no_inherit); 7887 staticpro (&Qface_no_inherit);
7888 Qbitmap_spec_p = intern ("bitmap-spec-p"); 7888 Qbitmap_spec_p = intern ("bitmap-spec-p");
7889 staticpro (&Qbitmap_spec_p); 7889 staticpro (&Qbitmap_spec_p);
7890 Qframe_update_face_colors = intern ("frame-update-face-colors"); 7890 Qframe_set_background_mode = intern ("frame-set-background-mode");
7891 staticpro (&Qframe_update_face_colors); 7891 staticpro (&Qframe_set_background_mode);
7892 7892
7893 /* Lisp face attribute keywords. */ 7893 /* Lisp face attribute keywords. */
7894 QCfamily = intern (":family"); 7894 QCfamily = intern (":family");