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

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

[nongnu] elpa/evil-visual-mark-mode c0a6232d56 14/29: Use zero-length ov


From: ELPA Syncer
Subject: [nongnu] elpa/evil-visual-mark-mode c0a6232d56 14/29: Use zero-length overlay as anchor
Date: Mon, 9 Oct 2023 13:01:38 -0400 (EDT)

branch: elpa/evil-visual-mark-mode
commit c0a6232d564fccb7950794f14e6801ff920ac0c0
Author: Dewdrops <v_v_4474@126.com>
Commit: Dewdrops <v_v_4474@126.com>

    Use zero-length overlay as anchor
---
 evil-visual-mark-mode.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/evil-visual-mark-mode.el b/evil-visual-mark-mode.el
index 550d63b1a4..686d4d232f 100644
--- a/evil-visual-mark-mode.el
+++ b/evil-visual-mark-mode.el
@@ -52,8 +52,7 @@
 
 This marker will normally come from the advised evil-set-marker
 function."
-  (let* ((marker-pos (marker-position marker)))
-    (make-overlay marker-pos (+ 2 marker-pos))))
+  (make-overlay marker marker))
 
 (defun evil-visual-mark-overlay-put (char overlay)
   "Puts marker CHAR in created OVERLAY."



reply via email to

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