diff options
author | Jimmy Aguilar Mena <spacibba@aol.com> | 2019-09-15 23:14:48 +0200 |
---|---|---|
committer | Jimmy Aguilar Mena <spacibba@aol.com> | 2019-10-14 14:18:41 +0200 |
commit | 2b80b4dc460c29096a39a5f3a6b474203599cfe7 (patch) | |
tree | 07a09341a8796c901c1a0f166e5cac06dfb85b20 /src/font.c | |
parent | e1b5e80aad46bba39831ae4c0aa863e69c915b4c (diff) | |
download | emacs-2b80b4dc460c29096a39a5f3a6b474203599cfe7.tar.gz |
Added parameter attr_filter to face_at_string_position.
Update all the occurrences in src/xdisp.c and src/xfaces.c
Diffstat (limited to 'src/font.c')
-rw-r--r-- | src/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index e1e33ab8b22..7fdadb17c14 100644 --- a/src/font.c +++ b/src/font.c @@ -3785,7 +3785,7 @@ font_at (int c, ptrdiff_t pos, struct face *face, struct window *w, if (STRINGP (string)) face_id = face_at_string_position (w, string, pos, 0, &endptr, - DEFAULT_FACE_ID, 0); + DEFAULT_FACE_ID, false, 0); else face_id = face_at_buffer_position (w, pos, &endptr, pos + 100, false, -1, 0); @@ -3841,7 +3841,7 @@ font_range (ptrdiff_t pos, ptrdiff_t pos_byte, ptrdiff_t *limit, : lookup_basic_face (w, f, DEFAULT_FACE_ID); face_id = face_at_string_position (w, string, pos, 0, &ignore, - face_id, false); + face_id, false, 0); } face = FACE_FROM_ID (f, face_id); } |