Fixed an incorrect paren placement

This commit is contained in:
John Wiegley 2011-09-24 12:06:25 -05:00
parent c8c804e917
commit 706de59f07
1 changed files with 1 additions and 1 deletions

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)))