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

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

[nongnu] elpa/wfnames 19b452fb69: Don't loose overlays when moving line


From: ELPA Syncer
Subject: [nongnu] elpa/wfnames 19b452fb69: Don't loose overlays when moving line up/down
Date: Sun, 24 Sep 2023 13:01:27 -0400 (EDT)

branch: elpa/wfnames
commit 19b452fb698a5ba3b0f1d6e7d69a5e19af2c83e7
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Don't loose overlays when moving line up/down
---
 wfnames.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wfnames.el b/wfnames.el
index e2ed215f12..b5005ebb0c 100644
--- a/wfnames.el
+++ b/wfnames.el
@@ -327,7 +327,7 @@ ARG can be 1 for down or -1 for up."
          (line (buffer-substring (point) next)))
     (delete-region (point) next)
     (forward-line arg)
-    (insert line)
+    (insert-before-markers line)
     (forward-line -1)))
 
 (defun wfnames-move-line-down ()



reply via email to

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