diff options
author | Bastien Guerry <bzg@altern.org> | 2012-04-23 22:29:54 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-04-23 22:29:54 +0200 |
commit | fdace895fa15ca6cf461a4b4a22a01747c80b33b (patch) | |
tree | 457c6e0659a2719af0378b274203ff9c2d522715 | |
parent | 312dbb63cbcfc43efcc613d68dbb1876843f0f00 (diff) | |
download | org-mode-fdace895fa15ca6cf461a4b4a22a01747c80b33b.tar.gz |
Fix bug in `org-insert-link'.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 66bc74e..0c45fec 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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) |