Skip to content

Commit 6741f4d

Browse files
committed
remove beacon cursors when beacon mode is disabled
Solves #290. Now when beacon mode is disabled, we call meow--beacon-remove-overlays do disable the fake cursor overlays. Note the secondary selection remains active. When beacon mode is resumed, the cursors are preserved. Because all states are disabled from meow--disable, this solves the case where meow-mode is called directly.
1 parent 7c310df commit 6741f4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meow-core.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@
9090
(meow--cancel-selection)
9191
(hl-line-mode -1))
9292
(when meow--beacon-backup-hl-line
93-
(hl-line-mode 1))))
93+
(hl-line-mode 1))
94+
(meow--beacon-remove-overlays)))
9495

9596
;;;###autoload
9697
(define-minor-mode meow-mode

0 commit comments

Comments
 (0)