aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-02-28 05:46:27 +0000
committerKenichi Handa2008-02-28 05:46:27 +0000
commitee548a94a0fdc550326d2563e6efc41522012b35 (patch)
tree133b94b6daee842cba72f74d358896eda0a122a6
parent74c52de17fc8795e1983347dd1024f5e2333b22b (diff)
downloademacs-ee548a94a0fdc550326d2563e6efc41522012b35.tar.gz
emacs-ee548a94a0fdc550326d2563e6efc41522012b35.zip
(handle_auto_composed_prop): Don't make composition if it->string
is a string.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xdisp.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 20f1b129faf..0dc4447a971 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,8 @@
2 2
3 * xdisp.c (display_mode_element): Cancel the previous change. 3 * xdisp.c (display_mode_element): Cancel the previous change.
4 (decode_mode_spec): Likewise. 4 (decode_mode_spec): Likewise.
5 (handle_auto_composed_prop): Don't make composition if it->string
6 is a string.
5 7
62008-02-27 Kim F. Storm <storm@cua.dk> 82008-02-27 Kim F. Storm <storm@cua.dk>
7 9
diff --git a/src/xdisp.c b/src/xdisp.c
index c6ebd596c2d..b558c2e8bbb 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4634,7 +4634,7 @@ handle_auto_composed_prop (it)
4634 val = Qnil; 4634 val = Qnil;
4635 } 4635 }
4636 } 4636 }
4637 if (NILP (val)) 4637 if (NILP (val) && ! STRINGP (it->string))
4638 { 4638 {
4639 if (limit < 0) 4639 if (limit < 0)
4640 limit = (STRINGP (it->string) ? SCHARS (it->string) 4640 limit = (STRINGP (it->string) ? SCHARS (it->string)