mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
parent
11fbd70347
commit
5f6dd00f5d
7
avy.el
7
avy.el
@ -480,7 +480,12 @@ Set `avy-style' according to COMMMAND as well."
|
|||||||
(forward-sexp)
|
(forward-sexp)
|
||||||
(setq str (buffer-substring pt (point)))
|
(setq str (buffer-substring pt (point)))
|
||||||
(kill-new str)
|
(kill-new str)
|
||||||
(message "Copied: %s" str))))
|
(message "Copied: %s" str)))
|
||||||
|
(let ((dat (ring-ref avy-ring 0)))
|
||||||
|
(select-frame-set-input-focus
|
||||||
|
(window-frame (cdr dat)))
|
||||||
|
(select-window (cdr dat))
|
||||||
|
(goto-char (car dat))))
|
||||||
|
|
||||||
(defun avy-action-kill (pt)
|
(defun avy-action-kill (pt)
|
||||||
"Kill sexp at PT."
|
"Kill sexp at PT."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user