commit 841cb88bb6662b9512ec90b23e5d0f909003b595
parent b244654e8f4c51b307115d430243fe3defee7a67
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Date: Fri, 3 Mar 2023 02:05:41 +0100
Clarify the need for the fallback cursor boundaries
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kmacro-x-mc.el b/kmacro-x-mc.el
@@ -155,7 +155,9 @@ omitted from the recorded macro to prevent premature termination."
(cons (region-beginning) (region-end))
(or (bounds-of-thing-at-point 'symbol)
;; A technically correct fallback.
- (cons (point) (point))))))
+ ;; Relevant mostly for the alternative ways to
+ ;; create cursors such as mouse clicks.
+ (cons (point) (1+ (point)))))))
(let ((regexp (regexp-quote
(buffer-substring-no-properties