diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-11-06 11:10:23 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-11-06 11:10:23 +0100 |
commit | dc3c69918f827da9d944834a5509e478a358e40c (patch) | |
tree | d48f8c7231fa6778b82e0aecd9bc0be52e61480c | |
parent | b89dfaa904d32b645b975ef363d0eb192581408a (diff) | |
download | org-mode-dc3c69918f827da9d944834a5509e478a358e40c.tar.gz |
org-capture: Remove error checking in capture template
* lisp/org-capture.el (org-capture-expand-file): Remove error checking
in capture template introduced in
b89dfaa904d32b645b975ef363d0eb192581408a for now.
-rw-r--r-- | lisp/org-capture.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 5d0f890..131df72 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1020,7 +1020,7 @@ case, raise an error." ((functionp file) (funcall file)) ((and (symbolp file) (boundp file)) (symbol-value file)) ((consp file) (eval file)) - (t (error "Invalid file location: %S" file)))) + (t file))) (defun org-capture-target-buffer (file) "Get a buffer for FILE. |