diff options
author | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-10 19:55:28 +0100 |
---|---|---|
committer | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-10 20:06:32 +0100 |
commit | dee0284f3fa771e30c7f1b09d82f8fc869cd167f (patch) | |
tree | 2fb96ba80abac8beee6359690afe4918c96007f0 | |
parent | 1b9f061d270abf3dfd76446e0eaf020521c79e0c (diff) |
avy.el (avy-action-kill-move): Adjust for avy-goto-line
Re #191
-rw-r--r-- | avy.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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." |