aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2018-11-04 09:45:59 -0800
committerGlenn Morris2018-11-04 09:45:59 -0800
commit294a5246b264441d436612d4de0dd89fad130aa3 (patch)
treece50a711eb53a7f1d297aab716f3a2b4dc9a3e46 /src
parent410e65e4ce6f871fd1b8a2ef4b227cbeeb17c1dd (diff)
downloademacs-294a5246b264441d436612d4de0dd89fad130aa3.tar.gz
emacs-294a5246b264441d436612d4de0dd89fad130aa3.zip
* src/xfaces.c (face_at_buffer_position): Adapt lookup_basic_face call.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 94397cd7f99..76b23a31278 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -6099,7 +6099,7 @@ face_at_buffer_position (struct window *w, ptrdiff_t pos,
6099 cached faces since we've looked up the base face, we need 6099 cached faces since we've looked up the base face, we need
6100 to look it up again. */ 6100 to look it up again. */
6101 if (!FACE_FROM_ID_OR_NULL (f, face_id)) 6101 if (!FACE_FROM_ID_OR_NULL (f, face_id))
6102 face_id = lookup_basic_face (f, DEFAULT_FACE_ID); 6102 face_id = lookup_basic_face (w, f, DEFAULT_FACE_ID);
6103 } 6103 }
6104 else if (NILP (Vface_remapping_alist)) 6104 else if (NILP (Vface_remapping_alist))
6105 face_id = DEFAULT_FACE_ID; 6105 face_id = DEFAULT_FACE_ID;