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
(goto-char start)
(move-end-of-line arg)
(kill-region start (point)))
(kill-whole-line))
(insert
(current-kill 0)
"\n")))))
(current-kill 0))))))
;;;###autoload
(defun avy-copy-region ()