[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master fd8f724: * src/xdisp.c (overlay_arrows_changed_p):
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master fd8f724: * src/xdisp.c (overlay_arrows_changed_p): Fix last change. |
Date: |
Mon, 27 Feb 2017 00:06:13 -0500 (EST) |
branch: master
commit fd8f724147b0a64c15f42dd09d21d8b2f81f6cbc
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* src/xdisp.c (overlay_arrows_changed_p): Fix last change.
---
src/xdisp.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index a4c3c70..4e87001 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -13358,14 +13358,19 @@ overlay_arrows_changed_p (bool set_redisplay)
if (!MARKERP (val))
continue;
if (! EQ (COERCE_MARKER (val),
+ /* FIXME: Don't we have a problem, using such a global
+ * "last-position" if the variable is buffer-local? */
Fget (var, Qlast_arrow_position))
|| ! (pstr = overlay_arrow_string_or_property (var),
EQ (pstr, Fget (var, Qlast_arrow_string))))
{
struct buffer *buf = XMARKER (val)->buffer;
- if (set_redisplay && buf)
- bset_redisplay (buf);
+ if (set_redisplay)
+ {
+ if (buf)
+ bset_redisplay (buf);
+ }
else
return true;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master fd8f724: * src/xdisp.c (overlay_arrows_changed_p): Fix last change.,
Stefan Monnier <=