0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 01:16:27 +00:00

Fixed an incorrect paren placement

This commit is contained in:
John Wiegley 2011-09-24 12:06:25 -05:00
parent c8c804e917
commit 706de59f07

View file

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