[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 78d20e0 07/24: Fix jumping to other frames
From: |
Oleh Krehel |
Subject: |
[elpa] master 78d20e0 07/24: Fix jumping to other frames |
Date: |
Thu, 25 Jun 2015 10:17:48 +0000 |
branch: master
commit 78d20e0b027b2aac0492cbecc9e8402b353cd3e0
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Fix jumping to other frames
* avy.el (avy--goto): Select the window frame if needed.
Fixes #54
---
avy.el | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/avy.el b/avy.el
index 8ca8350..7d5e376 100644
--- a/avy.el
+++ b/avy.el
@@ -395,7 +395,11 @@ POS is either a position or (BEG . END)."
((eq x 'exit))
(t
- (select-window (cdr x))
+ (let* ((window (cdr x))
+ (frame (window-frame window)))
+ (unless (equal frame (selected-frame))
+ (select-frame-set-input-focus frame))
+ (select-window window))
(let ((pt (car x)))
(when (consp pt)
(setq pt (car pt)))
- [elpa] master 6dfa445 12/24: README.md: Mention a custom-command tutorial, (continued)
- [elpa] master 6dfa445 12/24: README.md: Mention a custom-command tutorial, Oleh Krehel, 2015/06/25
- [elpa] master 7376a0c 18/24: avy.el (avy--overlay-at-full): Fixup (for overlays-in), Oleh Krehel, 2015/06/25
- [elpa] master 15c7f9f 17/24: targets/avy-init.el: Use the new checkdoc-file, Oleh Krehel, 2015/06/25
- [elpa] master 035d663 14/24: Add `avy-translate-char-function' to translate user input key, Oleh Krehel, 2015/06/25
- [elpa] master 27b98bb 03/24: Add 'de-bruijn option for avy-style, Oleh Krehel, 2015/06/25
- [elpa] master a7c92d8 21/24: Updated screenshot image for ivy-goto-char., Oleh Krehel, 2015/06/25
- [elpa] master f727b53 24/24: Merge commit '8d38a898f23b3105c5d098f0cfb6c3383547e394' from avy, Oleh Krehel, 2015/06/25
- [elpa] master 02bf35b 13/24: Modify `at-full' and `de-bruijn' overlays to color depth, Oleh Krehel, 2015/06/25
- [elpa] master 236293a 15/24: avy.el (avy-isearch): Allow different styles, Oleh Krehel, 2015/06/25
- [elpa] master 054390f 16/24: avy.el (avy-translate-char-function): Fixup doc, Oleh Krehel, 2015/06/25
- [elpa] master 78d20e0 07/24: Fix jumping to other frames,
Oleh Krehel <=
- [elpa] master 7a00821 09/24: avy.el (avy-dowindows): Ignore pdf-view-mode, Oleh Krehel, 2015/06/25
- [elpa] master e5104ca 20/24: avy.el (avy-goto-word-1): Quote punctuation, Oleh Krehel, 2015/06/25
- [elpa] master 55c77c5 04/24: For De Bruin, don't build a tree, Oleh Krehel, 2015/06/25
- [elpa] master aa2eb24 01/24: Makefile: "all" should depend on "compile", Oleh Krehel, 2015/06/25
- [elpa] master b5e02ac 05/24: Fixup byte-compile warnings, Oleh Krehel, 2015/06/25