avy.el (avy-action-goto): Add raise-frame

This commit is contained in:
Oleh Krehel 2017-02-08 10:48:22 +01:00
parent c911850a45
commit b8d7163915

5
avy.el
View File

@ -506,7 +506,10 @@ Set `avy-style' according to COMMMAND as well."
(defun avy-action-goto (pt)
"Goto PT."
(goto-char pt))
(let ((frame (window-frame (selected-window))))
(select-frame-set-input-focus frame)
(raise-frame frame)
(goto-char pt)))
(defun avy-action-mark (pt)
"Mark sexp at PT."