From f5ca6e7417701e4016215a101283b43c1875d035 Mon Sep 17 00:00:00 2001 From: DogLooksGood Date: Tue, 30 Jan 2024 17:21:45 +0800 Subject: [PATCH] Fix beacon change with consecutive characters --- meow-beacon.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meow-beacon.el b/meow-beacon.el index b415ff8f..d11cdb1c 100644 --- a/meow-beacon.el +++ b/meow-beacon.el @@ -44,7 +44,7 @@ (defun meow--beacon-add-overlay-at-point (pos) "Create an overlay to draw a fake cursor as beacon at POS." - (let ((ov (make-overlay pos (1+ pos)))) + (let ((ov (make-overlay pos (1+ pos) nil t))) (overlay-put ov 'face 'meow-beacon-fake-cursor) (overlay-put ov 'meow-beacon-type 'cursor) (push ov meow--beacon-overlays))) @@ -124,7 +124,7 @@ Non-nil BACKWARD means backward direction." "Apply kmacros in BEACON state, after exiting from insert. This is treated separately because we must enter each insert state the -same way, and escape ecah time the macro is applied." +same way, and escape each time the macro is applied." (meow--beacon-apply-command (lambda () (interactive) (meow--execute-kbd-macro