diff --git a/lisp/org.el b/lisp/org.el index b763c629b..d0207e85d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9609,7 +9609,8 @@ active region." (when custom-id (setq link (concat "file:" (abbreviate-file-name (buffer-file-name)) "::#" custom-id)) - (push (list link desc) org-stored-links))))))) + (push (list link desc) org-stored-links)) + (car org-stored-links)))))) (defun org-store-link-props (&rest plist) "Store link properties, extract names and addresses."