aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-23 16:42:37 +0200
committerJoakim Verona2013-08-23 16:42:37 +0200
commitf909b7cfa7ccac86db11ea8698d01b167a7f37d6 (patch)
treef0e9593932db1cd32000337ff00699859a155c37 /src
parent95a60dc06b2d05485a702e62ee00834a71753922 (diff)
parent6c6014d4cc93c33a964acd246e792e1bd73f910d (diff)
downloademacs-f909b7cfa7ccac86db11ea8698d01b167a7f37d6.tar.gz
emacs-f909b7cfa7ccac86db11ea8698d01b167a7f37d6.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c10
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 @@
12013-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
12013-08-23 Dmitry Antipov <dmantipov@yandex.ru> 62013-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 9e40cd26259..551774ae2fd 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3919,10 +3919,14 @@ handle_face_prop (struct it *it)
3919 /* For strings from a `display' property, use the face at 3919 /* For strings from a `display' property, use the face at
3920 IT's current buffer position as the base face to merge 3920 IT's current buffer position as the base face to merge
3921 with, so that overlay strings appear in the same face as 3921 with, so that overlay strings appear in the same face as
3922 surrounding text, unless they specify their own 3922 surrounding text, unless they specify their own faces.
3923 faces. */ 3923 For strings from wrap-prefix and line-prefix properties,
3924 use the default face, possibly remapped via
3925 Vface_remapping_alist. */
3924 base_face_id = it->string_from_prefix_prop_p 3926 base_face_id = it->string_from_prefix_prop_p
3925 ? DEFAULT_FACE_ID 3927 ? (!NILP (Vface_remapping_alist)
3928 ? lookup_basic_face (it->f, DEFAULT_FACE_ID)
3929 : DEFAULT_FACE_ID)
3926 : underlying_face_id (it); 3930 : underlying_face_id (it);
3927 } 3931 }
3928 3932