diff options
| author | Glenn Morris | 2018-11-04 09:37:03 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-11-04 09:37:03 -0800 |
| commit | a9140091dd0df7e89ddbaabec17608a20f06f7b0 (patch) | |
| tree | 3def81298da0b3608f1b5047081fd62b7d7dc7bb /src | |
| parent | 5ad0d805855dacfee285fe4f2375f18c9f245875 (diff) | |
| parent | bd1d61753d90ef47af1e9a3b7a92ee77b7d43ed0 (diff) | |
| download | emacs-a9140091dd0df7e89ddbaabec17608a20f06f7b0.tar.gz emacs-a9140091dd0df7e89ddbaabec17608a20f06f7b0.zip | |
Merge from origin/emacs-26
bd1d617 Avoid race in rcirc process filter (bug#33145)
88ef31a Avoid file-name errors when viewing PDF from Gnus
c939042 Avoid crashes with remapped default face in Org mode
97660fa Doc fix for checkdoc-continue
96f055b Fix a typo in autoload.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 6e06d56ba1d..94397cd7f99 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6093,7 +6093,14 @@ face_at_buffer_position (struct window *w, ptrdiff_t pos, | |||
| 6093 | int face_id; | 6093 | int face_id; |
| 6094 | 6094 | ||
| 6095 | if (base_face_id >= 0) | 6095 | if (base_face_id >= 0) |
| 6096 | face_id = base_face_id; | 6096 | { |
| 6097 | face_id = base_face_id; | ||
| 6098 | /* Make sure the base face ID is usable: if someone freed the | ||
| 6099 | cached faces since we've looked up the base face, we need | ||
| 6100 | to look it up again. */ | ||
| 6101 | if (!FACE_FROM_ID_OR_NULL (f, face_id)) | ||
| 6102 | face_id = lookup_basic_face (f, DEFAULT_FACE_ID); | ||
| 6103 | } | ||
| 6097 | else if (NILP (Vface_remapping_alist)) | 6104 | else if (NILP (Vface_remapping_alist)) |
| 6098 | face_id = DEFAULT_FACE_ID; | 6105 | face_id = DEFAULT_FACE_ID; |
| 6099 | else | 6106 | else |