summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-05-24 13:39:56 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2011-05-24 13:39:56 +0200
commitaf7aefe94599ff3b27910f9861b6f423004813e7 (patch)
treeceb3fd5e6748643b5006e73d8bb7f5a905b3e3cc
parent438536f6157794101ce0957e39cad6bf70580751 (diff)
downloadorg-mode-af7aefe94599ff3b27910f9861b6f423004813e7.tar.gz
* lisp/org-capture.el (org-capture): Ignore errors when creating a link.
Patch by Tassilo Horn.
-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 0af4529..ccfca75 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -415,7 +415,7 @@ bypassed."
(annotation (if (and (boundp 'org-capture-link-is-already-stored)
org-capture-link-is-already-stored)
(plist-get org-store-link-plist :annotation)
- (org-store-link nil)))
+ (ignore-errors (org-store-link nil))))
(initial (and (org-region-active-p)
(buffer-substring (point) (mark))))
(entry (org-capture-select-template keys)))