mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +00:00
org.el (org-insert-link): Make sure point is at the beginning of the buffer.
* org.el (org-insert-link): Make sure point is at the beginning of the buffer.
This commit is contained in:
parent
8fca59f71f
commit
1ac2552273
@ -9307,7 +9307,8 @@ Use TAB to complete link prefixes, then RET for type-specific completion support
|
||||
(when org-stored-links
|
||||
(insert "\nStored links are available with <up>/<down> or M-p/n (most recent with RET):\n\n")
|
||||
(insert (mapconcat 'org-link-prettify
|
||||
(reverse org-stored-links) "\n"))))
|
||||
(reverse org-stored-links) "\n")))
|
||||
(goto-char (point-min)))
|
||||
(let ((cw (selected-window)))
|
||||
(select-window (get-buffer-window "*Org Links*" 'visible))
|
||||
(with-current-buffer "*Org Links*" (setq truncate-lines t))
|
||||
|
Loading…
Reference in New Issue
Block a user