mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-04 08:47:03 +00:00
org.el (org-store-link): When a link has been stored, always returns it
* org.el (org-store-link): When a link has been stored, always returns it. (Storing links from the agenda are broken otherwise.)
This commit is contained in:
parent
9305b41ceb
commit
035087777d
@ -9608,8 +9608,8 @@ active region."
|
||||
(message "Stored: %s" (or desc link))
|
||||
(when custom-id
|
||||
(setq link (concat "file:" (abbreviate-file-name
|
||||
(buffer-file-name)) "::#" custom-id))
|
||||
(push (list link desc) org-stored-links)))))))
|
||||
(buffer-file-name)) "::#" custom-id)))
|
||||
(push (list link desc) org-stored-links))))))
|
||||
|
||||
(defun org-store-link-props (&rest plist)
|
||||
"Store link properties, extract names and addresses."
|
||||
|
Loading…
Reference in New Issue
Block a user