Fix frame selection for framepop

Patch by Lluis
This commit is contained in:
Carsten Dominik 2010-04-08 09:16:54 +02:00
parent 9a8b05cb70
commit 2e362d1123
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-04-08 Carsten Dominik <carsten.dominik@gmail.com>
* org.el (org-insert-link): Find the link buffer on visible
frames.
2010-04-07 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-preprocess): Do not yet protect

View File

@ -8210,7 +8210,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support
(if (nth 1 x) (concat (car x) " (" (nth 1 x) ")") (car x)))
(reverse org-stored-links) "\n"))))
(let ((cw (selected-window)))
(select-window (get-buffer-window "*Org Links*"))
(select-window (get-buffer-window "*Org Links*" 'visible))
(setq truncate-lines t)
(unless (pos-visible-in-window-p (point-max))
(org-fit-window-to-buffer))