]> code.delx.au - gnu-emacs-elpa/commitdiff
Make sure avi-move-line and avi-copy-line behave consistently.
authorTim Krones <t.krones@gmx.net>
Mon, 4 May 2015 20:37:15 +0000 (22:37 +0200)
committerTim Krones <t.krones@gmx.net>
Mon, 4 May 2015 20:37:15 +0000 (22:37 +0200)
Insert newline when moving one or more lines with avi-move-line.

avy-jump.el

index c65c63a9fc8d37e02d9c7b78e83fc6087a26bd1f..9a3988051194e2ade461ba7451a27573c7ace6d3 100644 (file)
@@ -315,7 +315,8 @@ ARG lines can be used."
         (move-end-of-line arg)
         (kill-region start (point)))
       (insert
-       (current-kill 0)))))
+       (current-kill 0)
+       "\n"))))
 
 ;;;###autoload
 (defun avi-copy-region ()