branch: master commit dee0284f3fa771e30c7f1b09d82f8fc869cd167f Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
avy.el (avy-action-kill-move): Adjust for avy-goto-line Re #191 --- avy.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/avy.el b/avy.el index 88bfc3d..f1a262c 100644 --- a/avy.el +++ b/avy.el @@ -662,9 +662,10 @@ Set `avy-style' according to COMMMAND as well." (defun avy-action-kill-move (pt) "Kill sexp at PT and move there." (goto-char pt) - (forward-sexp) + (avy-forward-item) (kill-region pt (point)) - (message "Killed: %s" (current-kill 0))) + (message "Killed: %s" (current-kill 0)) + (point)) (defun avy-action-kill-stay (pt) "Kill sexp at PT."