emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-goggles 879114abea 085/225: Don't show the overlay wh


From: ELPA Syncer
Subject: [nongnu] elpa/evil-goggles 879114abea 085/225: Don't show the overlay when evil-mc is displaying multiple fake cursors
Date: Wed, 12 Jan 2022 08:58:55 -0500 (EST)

branch: elpa/evil-goggles
commit 879114abeaad8515937cb2a762d0438b6b7bb026
Author: Evgeni Kolev <evgenysw@gmail.com>
Commit: Evgeni Kolev <evgenysw@gmail.com>

    Don't show the overlay when evil-mc is displaying multiple fake cursors
---
 evil-goggles.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/evil-goggles.el b/evil-goggles.el
index 044b73f95a..3e2e068a22 100644
--- a/evil-goggles.el
+++ b/evil-goggles.el
@@ -110,6 +110,8 @@ overlay must not be displayed.")
        (>= (point-max) end beg)
        (not (evil-visual-state-p))
        (not (evil-insert-state-p))
+       ;; don't show overlay when evil-mc has multiple fake cursors
+       (not (and (fboundp 'evil-mc-has-cursors-p) (evil-mc-has-cursors-p)))
        ;; don't show overlay when the region has nothing but whitespace
        (not (null (string-match-p "[^ \t\n]" (buffer-substring-no-properties 
beg end))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]