avy.el (avy-action-yank): Adjust for avy-goto-line

Re #191
This commit is contained in:
Oleh Krehel 2017-12-10 19:56:44 +01:00
parent dee0284f3f
commit a25b255b25

3
avy.el
View File

@ -657,7 +657,8 @@ Set `avy-style' according to COMMMAND as well."
(defun avy-action-yank (pt) (defun avy-action-yank (pt)
"Yank sexp starting at PT at the current point." "Yank sexp starting at PT at the current point."
(avy-action-copy pt) (avy-action-copy pt)
(yank)) (yank)
t)
(defun avy-action-kill-move (pt) (defun avy-action-kill-move (pt)
"Kill sexp at PT and move there." "Kill sexp at PT and move there."