aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4450763e1a9..158d00d9f0a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-06-26 Kenichi Handa <handa@m17n.org>
2
3 * xdisp.c (handle_auto_composed_prop): Fix for the terminal case.
4
12008-06-26 Dan Nicolaescu <dann@ics.uci.edu> 52008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * unexnext.c: 7 * unexnext.c:
diff --git a/src/xdisp.c b/src/xdisp.c
index ad2de16c7b5..430298aa444 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4588,7 +4588,7 @@ handle_auto_composed_prop (it)
4588{ 4588{
4589 enum prop_handled handled = HANDLED_NORMALLY; 4589 enum prop_handled handled = HANDLED_NORMALLY;
4590 4590
4591 if (FRAME_WINDOW_P (it->f) && FUNCTIONP (Vauto_composition_function)) 4591 if (FUNCTIONP (Vauto_composition_function))
4592 { 4592 {
4593 Lisp_Object val = Qnil; 4593 Lisp_Object val = Qnil;
4594 EMACS_INT pos, limit = -1; 4594 EMACS_INT pos, limit = -1;
@@ -4654,8 +4654,10 @@ handle_auto_composed_prop (it)
4654 int count = SPECPDL_INDEX (); 4654 int count = SPECPDL_INDEX ();
4655 Lisp_Object args[5]; 4655 Lisp_Object args[5];
4656 4656
4657 limit = font_range (pos, limit, FACE_FROM_ID (it->f, it->face_id), 4657 if (FRAME_WINDOW_P (it->f))
4658 it->f, it->string); 4658 limit = font_range (pos, limit,
4659 FACE_FROM_ID (it->f, it->face_id),
4660 it->f, it->string);
4659 args[0] = Vauto_composition_function; 4661 args[0] = Vauto_composition_function;
4660 specbind (Qauto_composition_function, Qnil); 4662 specbind (Qauto_composition_function, Qnil);
4661 args[1] = make_number (pos); 4663 args[1] = make_number (pos);