diff options
| author | Stefan Kangas | 2023-02-25 06:30:14 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2023-02-25 06:30:14 +0100 |
| commit | 50b55656b9c5ce0d7940bec245f2d9725378d0a0 (patch) | |
| tree | 851e86ebecbdf9a1ae767f9242415aa29ff3ae1e /src | |
| parent | a129f257720dbef9adcaff58862d45ac142f93f6 (diff) | |
| parent | 5cf50d60041c82deccc4b32a8ecdb1a28b6e8f91 (diff) | |
| download | emacs-50b55656b9c5ce0d7940bec245f2d9725378d0a0.tar.gz emacs-50b55656b9c5ce0d7940bec245f2d9725378d0a0.zip | |
Merge from origin/emacs-29
5cf50d60041 Check the anchor along with the offset in treesit-indent-...
497018dd5c3 ; Fix typos in docstrings in c-ts-common.el
03072bbdd38 ; Set indent-tabs-mode to nil in c-ts-mode indent preproc...
4a25fa4586c Align to prev sibling for c-ts-mode indentation
d25f24fe57b Fix c-ts-common-statement-offset and c-ts-common--node-is
c92360c7a3b typescript-ts-mode: Highlight non-shorthand destructuring...
a795c51f605 Add more/finer faces for tree-sitter
146bce49321 Avoid crashes in batch mode due to lack of frame face cache
244a73cd729 Add Tramp version integrated in Emacs 28.3
# Conflicts:
# etc/NEWS
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 62d7823f308..37b703984be 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -4186,7 +4186,9 @@ Default face attributes override any local face attributes. */) | |||
| 4186 | if (EQ (face, Qdefault)) | 4186 | if (EQ (face, Qdefault)) |
| 4187 | { | 4187 | { |
| 4188 | struct face_cache *c = FRAME_FACE_CACHE (f); | 4188 | struct face_cache *c = FRAME_FACE_CACHE (f); |
| 4189 | struct face *newface, *oldface = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); | 4189 | struct face *newface; |
| 4190 | struct face *oldface = | ||
| 4191 | c ? FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID) : NULL; | ||
| 4190 | Lisp_Object attrs[LFACE_VECTOR_SIZE]; | 4192 | Lisp_Object attrs[LFACE_VECTOR_SIZE]; |
| 4191 | 4193 | ||
| 4192 | /* This can be NULL (e.g., in batch mode). */ | 4194 | /* This can be NULL (e.g., in batch mode). */ |