diff options
author | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-10 20:02:40 +0100 |
---|---|---|
committer | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-10 20:06:34 +0100 |
commit | 78392e670ec12d93e0e169a7fabcd024664e5abe (patch) | |
tree | e89be365f9c8dde22d201cb87a5d4b9d9095a0fb | |
parent | a25b255b2544f9a8fbb37cd7b7e8ce61186d4639 (diff) |
avy.el (avy-action-teleport): Adjust for avy-goto-line
Re #191
-rw-r--r-- | avy.el | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -676,12 +676,19 @@ Set `avy-style' according to COMMMAND as well." (kill-region pt (point)) (just-one-space)) (message "Killed: %s" (current-kill 0)) + (select-window + (cdr + (ring-ref avy-ring 0))) t) (defun avy-action-teleport (pt) "Kill sexp starting on PT and yank into the current location." (avy-action-kill-stay pt) - (yank)) + (select-window + (cdr + (ring-ref avy-ring 0))) + (yank) + t) (declare-function flyspell-correct-word-before-point "flyspell") |