diff options
author | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-30 11:18:40 +0100 |
---|---|---|
committer | Oleh Krehel <ohwoeowho@gmail.com> | 2017-12-30 11:20:36 +0100 |
commit | 34d3531a3cd35ae6b9e8dbc37343c027504fdcb0 (patch) | |
tree | e916778ef7577af6dba464d8274b3cf05e94ccfd | |
parent | 93d4bd2c6763064f63e343eaec9107248a2d535c (diff) |
avy.el (avy-action-goto): Remove lag
-rw-r--r-- | avy.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -628,8 +628,9 @@ Set `avy-style' according to COMMMAND as well." (defun avy-action-goto (pt) "Goto PT." (let ((frame (window-frame (selected-window)))) - (select-frame-set-input-focus frame) - (raise-frame frame) + (unless (equal frame (selected-frame)) + (select-frame-set-input-focus frame) + (raise-frame frame)) (goto-char pt))) (defun avy-forward-item () |