avy.el (avy-action-teleport): Add save-excursion

This commit is contained in:
Oleh Krehel 2017-12-11 17:19:52 +01:00
parent 631214d11c
commit 793a5e22a7

3
avy.el
View File

@ -687,7 +687,8 @@ Set `avy-style' according to COMMMAND as well."
(select-window
(cdr
(ring-ref avy-ring 0)))
(yank)
(save-excursion
(yank))
t)
(declare-function flyspell-correct-word-before-point "flyspell")