mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 05:23:05 +00:00
parent
a86bdee66c
commit
dbd2d2018d
9
avy.el
9
avy.el
@ -1043,8 +1043,13 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
||||
(progn
|
||||
(while (not (window-live-p
|
||||
(cdr (setq res (ring-remove avy-ring 0))))))
|
||||
(select-window (cdr res))
|
||||
(goto-char (car res)))
|
||||
(let* ((window (cdr res))
|
||||
(frame (window-frame window)))
|
||||
(when (and (frame-live-p frame)
|
||||
(not (eq frame (selected-frame))))
|
||||
(select-frame-set-input-focus frame))
|
||||
(select-window window)
|
||||
(goto-char (car res))))
|
||||
(error
|
||||
(set-mark-command 4)))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user