aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2009-08-17 13:13:58 +0000
committerDavid Aspinall2009-08-17 13:13:58 +0000
commit9bed9eb56b63db397fdb4b9a76197ffc4d150ff6 (patch)
tree1071a9a1e057a3fb8597fdd2a6ace20a92ccc76a
parent660bf86b2aee99b6a8f0005e26c2e7efe7a41d32 (diff)
Only move proof-overlay-arrow once it's got a position.
-rw-r--r--generic/proof-script.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/proof-script.el b/generic/proof-script.el
index 7c474096..ac44c9d9 100644
--- a/generic/proof-script.el
+++ b/generic/proof-script.el
@@ -3047,6 +3047,7 @@ Choice of function depends on configuration setting."
(min (or proof-last-edited-low-watermark (point-max))
start))
(if (and (markerp proof-overlay-arrow)
+ (marker-position proof-overlay-arrow)
(< start (marker-position proof-overlay-arrow))
(>= start (proof-queue-or-locked-end)))
(proof-set-overlay-arrow start)))