org-capture.el (org-capture): Don't store multiple links over lines in the active region

* org-capture.el (org-capture): Don't store multiple links
over lines in the active region.

Thanks to Matt Lundin for reporting this.
This commit is contained in:
Bastien Guerry 2013-03-25 23:49:39 +01:00
parent 8aeea9b02c
commit 2c994218ea
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ of the day at point (if any) or the current HH:MM time."
(annotation (if (and (boundp 'org-capture-link-is-already-stored)
org-capture-link-is-already-stored)
(plist-get org-store-link-plist :annotation)
(ignore-errors (org-store-link nil))))
(ignore-errors (org-store-link nil t))))
(entry (or org-capture-entry (org-capture-select-template keys)))
initial)
(setq initial (or org-capture-initial