kmacro-x

a fork of vifon's kmacro-x
git clone https://git.trogloxene.org/kmacro-x.git
Log | Files | Refs | README | LICENSE

commit aca829864a51ecbf608cc62624af26d89b176b38
parent 1f42386035bdb49ee1586f3872254f0a6debc541
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date:   Fri,  3 Mar 2023 17:54:44 +0100

Fix kmacro-x-mc-mark-at-click with kmacro-x-mc-mark-whole-symbol

Diffstat:
Mkmacro-x-mc-extra.el | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kmacro-x-mc-extra.el b/kmacro-x-mc-extra.el @@ -54,7 +54,8 @@ Some code borrowed from `mc/toggle-cursor-on-click'." (delete ov kmacro-x-mc-cursors)))) (let ((ov (make-overlay point (1+ point) nil t))) (unless kmacro-x-mc-mode - (kmacro-x-mc-mode 1)) + (let ((kmacro-x-mc-mark-whole-symbol nil)) + (kmacro-x-mc-mode 1))) (overlay-put ov 'face 'kmacro-x-mc-cursor-face) (overlay-put ov 'offsets '(0 . 0)) (push ov kmacro-x-mc-cursors))))))