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

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

[nongnu] elpa/evil-surround 8449d19d05 158/175: Fix visual screen-line s


From: ELPA Syncer
Subject: [nongnu] elpa/evil-surround 8449d19d05 158/175: Fix visual screen-line surrounding bug.
Date: Mon, 9 Oct 2023 13:01:16 -0400 (EDT)

branch: elpa/evil-surround
commit 8449d19d055ad403d47abc5e3d9674ebe5f64efe
Author: Areg <aregak2005@gmail.com>
Commit: Areg <aregak2005@gmail.com>

    Fix visual screen-line surrounding bug.
---
 evil-surround.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-surround.el b/evil-surround.el
index 26cf2119e8..942e25209a 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -406,7 +406,7 @@ Becomes this:
                    (setq beg-pos (point))
                    (insert open)
                    (when force-new-line (newline-and-indent))
-                   (evil-end-of-visual-line)
+                   (goto-char (overlay-end overlay))
                    (if force-new-line
                        (when (eobp)
                          (newline-and-indent))



reply via email to

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