aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2008-03-03 09:25:30 +0000
committerYAMAMOTO Mitsuharu2008-03-03 09:25:30 +0000
commit70f6d79619dea7b743c879389bc6dd89553a0a25 (patch)
tree22d940b73b111cbd47bb1252ea00ee4eff45553c /src
parenta1ebd734f1f674fe843b5ae65909f51efb6fddcc (diff)
downloademacs-70f6d79619dea7b743c879389bc6dd89553a0a25.tar.gz
emacs-70f6d79619dea7b743c879389bc6dd89553a0a25.zip
(handle_single_display_spec): Undo 2007-10-16 changes.
Don't pretend as if characters with display property haven't been consumed for string-replacing-string case.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c9
2 files changed, 9 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 30395e9d617..6da585c7a1b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12008-03-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes.
4 Don't pretend as if characters with display property haven't been
5 consumed for string-replacing-string case.
6
12008-02-29 Chong Yidong <cyd@stupidchicken.com> 72008-02-29 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * xdisp.c (get_overlay_strings_1): Add missing argument type. 9 * xdisp.c (get_overlay_strings_1): Add missing argument type.
diff --git a/src/xdisp.c b/src/xdisp.c
index 83792108f42..f362f2c352f 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -4301,15 +4301,13 @@ handle_single_display_spec (it, spec, object, overlay, position,
4301 `display' property yet. The call to pop_it in 4301 `display' property yet. The call to pop_it in
4302 set_iterator_to_next will clean this up. */ 4302 set_iterator_to_next will clean this up. */
4303 if (BUFFERP (object)) 4303 if (BUFFERP (object))
4304 it->current.pos = start_pos; 4304 *position = start_pos;
4305 } 4305 }
4306 else if (CONSP (value) && EQ (XCAR (value), Qspace)) 4306 else if (CONSP (value) && EQ (XCAR (value), Qspace))
4307 { 4307 {
4308 it->method = GET_FROM_STRETCH; 4308 it->method = GET_FROM_STRETCH;
4309 it->object = value; 4309 it->object = value;
4310 it->position = start_pos; 4310 *position = it->position = start_pos;
4311 if (BUFFERP (object))
4312 it->current.pos = start_pos;
4313 } 4311 }
4314#ifdef HAVE_WINDOW_SYSTEM 4312#ifdef HAVE_WINDOW_SYSTEM
4315 else 4313 else
@@ -4323,8 +4321,7 @@ handle_single_display_spec (it, spec, object, overlay, position,
4323 /* Say that we haven't consumed the characters with 4321 /* Say that we haven't consumed the characters with
4324 `display' property yet. The call to pop_it in 4322 `display' property yet. The call to pop_it in
4325 set_iterator_to_next will clean this up. */ 4323 set_iterator_to_next will clean this up. */
4326 if (BUFFERP (object)) 4324 *position = start_pos;
4327 it->current.pos = start_pos;
4328 } 4325 }
4329#endif /* HAVE_WINDOW_SYSTEM */ 4326#endif /* HAVE_WINDOW_SYSTEM */
4330 4327