Fix bug in `org-insert-link'.

This commit is contained in:
Bastien Guerry 2012-04-23 22:29:54 +02:00
parent 312dbb63cb
commit fdace895fa
1 changed files with 1 additions and 1 deletions

View File

@ -9200,7 +9200,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support
(org-fit-window-to-buffer))
(and (window-live-p cw) (select-window cw)))
;; Fake a link history, containing the stored links.
(setq tmphist (append (mapcar 'org-link-prettify org-stored-links)
(setq tmphist (append (mapcar 'car org-stored-links)
org-insert-link-history))
(setq all-prefixes (append (mapcar 'car org-link-abbrev-alist-local)
(mapcar 'car org-link-abbrev-alist)