diff options
| author | Helmut Eller | 2026-04-04 20:59:46 +0200 |
|---|---|---|
| committer | Helmut Eller | 2026-04-04 20:59:46 +0200 |
| commit | 6eec001187e8551f32b6498e6dc60cdc58c2e515 (patch) | |
| tree | 13233de9f0a05ef86a51500e8b1870b75ff20c81 /src/xfaces.c | |
| parent | e4ea27119e79012f9d651cb61d1115589d91ef39 (diff) | |
| parent | 01a9d78a7e4c7d7fa5b799e4fdc2caf77a012734 (diff) | |
| download | emacs-feature/igc3.tar.gz emacs-feature/igc3.zip | |
Merge branch 'master' into feature/igc3feature/igc3
Diffstat (limited to 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 567a56d229c..fdc08391fb7 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -5827,7 +5827,7 @@ face for italic. */) | |||
| 5827 | } | 5827 | } |
| 5828 | 5828 | ||
| 5829 | /* Dispatch to the appropriate handler. */ | 5829 | /* Dispatch to the appropriate handler. */ |
| 5830 | if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) | 5830 | if (is_tty_frame (f)) |
| 5831 | supports = tty_supports_face_attributes_p (f, attrs, def_face); | 5831 | supports = tty_supports_face_attributes_p (f, attrs, def_face); |
| 5832 | #ifdef HAVE_WINDOW_SYSTEM | 5832 | #ifdef HAVE_WINDOW_SYSTEM |
| 5833 | else | 5833 | else |
| @@ -6121,7 +6121,7 @@ realize_default_face (struct frame *f) | |||
| 6121 | ASET (lface, LFACE_FOREGROUND_INDEX, XCDR (color)); | 6121 | ASET (lface, LFACE_FOREGROUND_INDEX, XCDR (color)); |
| 6122 | else if (FRAME_WINDOW_P (f)) | 6122 | else if (FRAME_WINDOW_P (f)) |
| 6123 | return false; | 6123 | return false; |
| 6124 | else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) | 6124 | else if (FRAME_INITIAL_P (f) || is_tty_frame (f)) |
| 6125 | ASET (lface, LFACE_FOREGROUND_INDEX, build_string (unspecified_fg)); | 6125 | ASET (lface, LFACE_FOREGROUND_INDEX, build_string (unspecified_fg)); |
| 6126 | else | 6126 | else |
| 6127 | emacs_abort (); | 6127 | emacs_abort (); |
| @@ -6136,7 +6136,7 @@ realize_default_face (struct frame *f) | |||
| 6136 | ASET (lface, LFACE_BACKGROUND_INDEX, XCDR (color)); | 6136 | ASET (lface, LFACE_BACKGROUND_INDEX, XCDR (color)); |
| 6137 | else if (FRAME_WINDOW_P (f)) | 6137 | else if (FRAME_WINDOW_P (f)) |
| 6138 | return false; | 6138 | return false; |
| 6139 | else if (FRAME_INITIAL_P (f) || FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f)) | 6139 | else if (FRAME_INITIAL_P (f) || is_tty_frame (f)) |
| 6140 | ASET (lface, LFACE_BACKGROUND_INDEX, build_string (unspecified_bg)); | 6140 | ASET (lface, LFACE_BACKGROUND_INDEX, build_string (unspecified_bg)); |
| 6141 | else | 6141 | else |
| 6142 | emacs_abort (); | 6142 | emacs_abort (); |
| @@ -6247,7 +6247,7 @@ realize_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE], | |||
| 6247 | 6247 | ||
| 6248 | if (FRAME_WINDOW_P (cache->f)) | 6248 | if (FRAME_WINDOW_P (cache->f)) |
| 6249 | face = realize_gui_face (cache, attrs); | 6249 | face = realize_gui_face (cache, attrs); |
| 6250 | else if (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)) | 6250 | else if (is_tty_frame (cache->f)) |
| 6251 | face = realize_tty_face (cache, attrs); | 6251 | face = realize_tty_face (cache, attrs); |
| 6252 | else if (FRAME_INITIAL_P (cache->f)) | 6252 | else if (FRAME_INITIAL_P (cache->f)) |
| 6253 | { | 6253 | { |
| @@ -6760,7 +6760,7 @@ realize_tty_face (struct face_cache *cache, | |||
| 6760 | struct frame *f = cache->f; | 6760 | struct frame *f = cache->f; |
| 6761 | 6761 | ||
| 6762 | /* Frame must be a termcap frame. */ | 6762 | /* Frame must be a termcap frame. */ |
| 6763 | eassert (FRAME_TERMCAP_P (cache->f) || FRAME_MSDOS_P (cache->f)); | 6763 | eassert (is_tty_frame (cache->f)); |
| 6764 | 6764 | ||
| 6765 | /* Allocate a new realized face. */ | 6765 | /* Allocate a new realized face. */ |
| 6766 | face = make_realized_face (attrs); | 6766 | face = make_realized_face (attrs); |