diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e252e4a2f4f..bee477c745a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-08-23 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (handle_face_prop): If the default face was remapped use | ||
| 4 | the remapped face for strings from prefix properties. (Bug#15155) | ||
| 5 | |||
| 1 | 2013-08-23 Dmitry Antipov <dmantipov@yandex.ru> | 6 | 2013-08-23 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 7 | ||
| 3 | Minor cleanup for redisplay interface and few related functions. | 8 | Minor cleanup for redisplay interface and few related functions. |
diff --git a/src/xdisp.c b/src/xdisp.c index 53fc6d85647..ca130473c0f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3912,10 +3912,14 @@ handle_face_prop (struct it *it) | |||
| 3912 | /* For strings from a `display' property, use the face at | 3912 | /* For strings from a `display' property, use the face at |
| 3913 | IT's current buffer position as the base face to merge | 3913 | IT's current buffer position as the base face to merge |
| 3914 | with, so that overlay strings appear in the same face as | 3914 | with, so that overlay strings appear in the same face as |
| 3915 | surrounding text, unless they specify their own | 3915 | surrounding text, unless they specify their own faces. |
| 3916 | faces. */ | 3916 | For strings from wrap-prefix and line-prefix properties, |
| 3917 | use the default face, possibly remapped via | ||
| 3918 | Vface_remapping_alist. */ | ||
| 3917 | base_face_id = it->string_from_prefix_prop_p | 3919 | base_face_id = it->string_from_prefix_prop_p |
| 3918 | ? DEFAULT_FACE_ID | 3920 | ? (!NILP (Vface_remapping_alist) |
| 3921 | ? lookup_basic_face (it->f, DEFAULT_FACE_ID) | ||
| 3922 | : DEFAULT_FACE_ID) | ||
| 3919 | : underlying_face_id (it); | 3923 | : underlying_face_id (it); |
| 3920 | } | 3924 | } |
| 3921 | 3925 | ||