Remove empty line after original one being moved

Fixed #40.
This commit is contained in:
Ting-Yu Lin 2015-05-14 18:10:17 +08:00
parent a39f689908
commit f0694a2b73

6
avy.el
View File

@ -696,11 +696,9 @@ ARG lines can be used."
(save-excursion (save-excursion
(save-excursion (save-excursion
(goto-char start) (goto-char start)
(move-end-of-line arg) (kill-whole-line))
(kill-region start (point)))
(insert (insert
(current-kill 0) (current-kill 0))))))
"\n")))))
;;;###autoload ;;;###autoload
(defun avy-copy-region () (defun avy-copy-region ()