diff options
| -rw-r--r-- | src/xfaces.c | 14 |
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; | |||
| 316 | char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg"; | 316 | char 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 | ||
| 321 | Lisp_Object Qframe_update_face_colors; | 321 | Lisp_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"); |