commit c419f2da6bf80592d5aa76c5042cf363ab42beac
parent c0afc03712332c896ef7e3fc6621754c2fafccff
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date: Sun, 5 Mar 2023 15:45:59 +0100
Disable front-advance in the cursor overlays
This fixes the behavior with the multiple cursor boundaries touching.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el
@@ -127,7 +127,8 @@ necessary initialization."
(search-backward-regexp kmacro-x-mc-regexp nil 'noerror)
(search-forward-regexp kmacro-x-mc-regexp nil 'noerror)))
(let ((ov (make-overlay (match-beginning 0)
- (match-end 0))))
+ (match-end 0)
+ nil t nil)))
(overlay-put ov 'face 'kmacro-x-mc-cursor-face)
;; Store the offsets per cursor as mouse-created cursors