diff options
author | Bastien Guerry <bzg@altern.org> | 2014-01-12 09:56:41 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-01-12 09:56:41 +0100 |
commit | 035087777d0b4d91373466ed1a56f357c63f5465 (patch) | |
tree | 77b100bba5c6ee1342ce5689e57a68c66416c928 | |
parent | 9305b41ceb4edf2c6c5ccacd90f497b29a0cc7c6 (diff) | |
download | org-mode-035087777d0b4d91373466ed1a56f357c63f5465.tar.gz |
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.)
-rw-r--r-- | lisp/org.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index a11badd..7c1b291 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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." |