summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-25 23:49:39 +0100
committerBastien Guerry <bzg@altern.org>2013-03-25 23:49:39 +0100
commit2c994218ea67ced426f03d0a851eeec81f112dbc (patch)
treea0e014f4bf06e51db97df7280bece23442c37d7e
parent8aeea9b02ce50e6526e311c7abc026935d09d80a (diff)
downloadorg-mode-2c994218ea67ced426f03d0a851eeec81f112dbc.tar.gz
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.
-rw-r--r--lisp/org-capture.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 6a014b4..3eed9ca 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -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