mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 21:33:05 +00:00
parent
a25b255b25
commit
78392e670e
9
avy.el
9
avy.el
@ -676,12 +676,19 @@ Set `avy-style' according to COMMMAND as well."
|
|||||||
(kill-region pt (point))
|
(kill-region pt (point))
|
||||||
(just-one-space))
|
(just-one-space))
|
||||||
(message "Killed: %s" (current-kill 0))
|
(message "Killed: %s" (current-kill 0))
|
||||||
|
(select-window
|
||||||
|
(cdr
|
||||||
|
(ring-ref avy-ring 0)))
|
||||||
t)
|
t)
|
||||||
|
|
||||||
(defun avy-action-teleport (pt)
|
(defun avy-action-teleport (pt)
|
||||||
"Kill sexp starting on PT and yank into the current location."
|
"Kill sexp starting on PT and yank into the current location."
|
||||||
(avy-action-kill-stay pt)
|
(avy-action-kill-stay pt)
|
||||||
(yank))
|
(select-window
|
||||||
|
(cdr
|
||||||
|
(ring-ref avy-ring 0)))
|
||||||
|
(yank)
|
||||||
|
t)
|
||||||
|
|
||||||
(declare-function flyspell-correct-word-before-point "flyspell")
|
(declare-function flyspell-correct-word-before-point "flyspell")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user