emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors e0ffd9c 026/434: Disable marker when done


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors e0ffd9c 026/434: Disable marker when done with it, for performance reasons.
Date: Sat, 7 Aug 2021 09:19:47 -0400 (EDT)

branch: elpa/multiple-cursors
commit e0ffd9cce8d68ee4be3be3eb417e9b2c177204c5
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Disable marker when done with it, for performance reasons.
---
 multiple-cursors.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multiple-cursors.el b/multiple-cursors.el
index 6cd6ad5..d3aafc4 100644
--- a/multiple-cursors.el
+++ b/multiple-cursors.el
@@ -140,6 +140,7 @@ cursor with updated info."
                   (goto-char (overlay-start o))
                   (setq kill-ring (overlay-get o 'kill-ring))
                   (set-marker (mark-marker) (overlay-get o 'mark))
+                  (set-marker (overlay-get o 'mark) nil)
                   (setq mark-ring (overlay-get o 'mark-ring))
                   (setq mark-active (overlay-get o 'mark-active))
                   (delete-region-overlay o)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]