aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index a4c3c706552..4e87001abf7 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13358,14 +13358,19 @@ overlay_arrows_changed_p (bool set_redisplay)
13358 if (!MARKERP (val)) 13358 if (!MARKERP (val))
13359 continue; 13359 continue;
13360 if (! EQ (COERCE_MARKER (val), 13360 if (! EQ (COERCE_MARKER (val),
13361 /* FIXME: Don't we have a problem, using such a global
13362 * "last-position" if the variable is buffer-local? */
13361 Fget (var, Qlast_arrow_position)) 13363 Fget (var, Qlast_arrow_position))
13362 || ! (pstr = overlay_arrow_string_or_property (var), 13364 || ! (pstr = overlay_arrow_string_or_property (var),
13363 EQ (pstr, Fget (var, Qlast_arrow_string)))) 13365 EQ (pstr, Fget (var, Qlast_arrow_string))))
13364 { 13366 {
13365 struct buffer *buf = XMARKER (val)->buffer; 13367 struct buffer *buf = XMARKER (val)->buffer;
13366 13368
13367 if (set_redisplay && buf) 13369 if (set_redisplay)
13368 bset_redisplay (buf); 13370 {
13371 if (buf)
13372 bset_redisplay (buf);
13373 }
13369 else 13374 else
13370 return true; 13375 return true;
13371 } 13376 }