diff options
| author | Basil L. Contovounesios | 2023-01-25 01:02:30 +0000 |
|---|---|---|
| committer | Basil L. Contovounesios | 2023-01-25 14:32:42 +0000 |
| commit | 37454de0c8f07584a1604d54acc97e4bc1c9ddfc (patch) | |
| tree | b35756c61404e173453e7c97a1d4fa56e2fd3076 /src | |
| parent | 9a21cb107516d45a5b1ca43e4204f2c93cbf12fd (diff) | |
| download | emacs-37454de0c8f07584a1604d54acc97e4bc1c9ddfc.tar.gz emacs-37454de0c8f07584a1604d54acc97e4bc1c9ddfc.zip | |
Pacify --without-x unused function warning
* src/xfaces.c (font_maybe_unset_attribute): Move definition...
[HAVE_WINDOW_SYSTEM] (font_maybe_unset_attribute): ...to here, since
the function is used only when we HAVE_WINDOW_SYSTEM (bug#61049).
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 68f7cc493cc..35b79154805 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6012,7 +6012,6 @@ realize_non_ascii_face (struct frame *f, Lisp_Object font_object, | |||
| 6012 | 6012 | ||
| 6013 | return face; | 6013 | return face; |
| 6014 | } | 6014 | } |
| 6015 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 6016 | 6015 | ||
| 6017 | /* Remove the attribute at INDEX from the font object if SYMBOL | 6016 | /* Remove the attribute at INDEX from the font object if SYMBOL |
| 6018 | appears in `font-fallback-ignored-attributes'. */ | 6017 | appears in `font-fallback-ignored-attributes'. */ |
| @@ -6031,6 +6030,7 @@ font_maybe_unset_attribute (Lisp_Object font_object, | |||
| 6031 | ASET (font_object, index, Qnil); | 6030 | ASET (font_object, index, Qnil); |
| 6032 | } | 6031 | } |
| 6033 | } | 6032 | } |
| 6033 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 6034 | 6034 | ||
| 6035 | /* Realize the fully-specified face with attributes ATTRS in face | 6035 | /* Realize the fully-specified face with attributes ATTRS in face |
| 6036 | cache CACHE for ASCII characters. Do it for GUI frame CACHE->f. | 6036 | cache CACHE for ASCII characters. Do it for GUI frame CACHE->f. |