]> code.delx.au - gnu-emacs-elpa/commitdiff
avy.el (avy-move-line): Use ARG lines
authorOleh Krehel <ohwoeowho@gmail.com>
Sat, 16 May 2015 15:59:35 +0000 (17:59 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sat, 16 May 2015 15:59:35 +0000 (17:59 +0200)
avy.el

diff --git a/avy.el b/avy.el
index 4b0c1e8bd6adc7920527a07861b5d59c9abee95e..4e96866957ec0bdc17b37a8545bd87c0cf98ed8d 100644 (file)
--- a/avy.el
+++ b/avy.el
@@ -696,7 +696,7 @@ ARG lines can be used."
       (save-excursion
         (save-excursion
           (goto-char start)
-          (kill-whole-line))
+          (kill-whole-line arg))
         (insert
          (current-kill 0))))))