aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/span-overlay.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/span-overlay.el b/generic/span-overlay.el
index 8289bf3d..2b969028 100644
--- a/generic/span-overlay.el
+++ b/generic/span-overlay.el
@@ -210,7 +210,8 @@ For Emacs, we assume that spans don't overlap."
;; The next two change ordering of list of spans:
(defsubst set-span-endpoints (span start end)
- "Set the endpoints of SPAN to START, END."
+ "Set the endpoints of SPAN to START, END.
+Re-attaches SPAN if it was removed from the buffer."
(remove-span span)
(move-overlay span start end)
(add-span span))