summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-01-24 23:20:46 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-01-24 23:20:46 +0100
commit61eedb852fe1ca80f28d2bdd0c069a5fa702b6b9 (patch)
tree7c881a5956b238af10791835aa56383efdba54e9
parentb6fce5c90b336fdad409be791b879b7abf721a75 (diff)
downloadorg-mode-61eedb852fe1ca80f28d2bdd0c069a5fa702b6b9.tar.gz
ob-core: Fix error messages
* lisp/ob-core.el (org-babel--script-escape-inner, org-babel-script-escape): Error messages do not end with a full stop.
-rw-r--r--lisp/ob-core.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index a8e5938..6c25d74 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -2730,13 +2730,13 @@ block but are passed literally to the \"example-block\"."
(t (cons ch out))))))
(string-to-list str))
(when (or in-single in-double)
- (error "Unterminated string in `org-babel-script-escape'."))
+ (error "Unterminated string in `org-babel-script-escape'"))
(apply #'string (reverse out))))
(defun org-babel-script-escape (str &optional force)
"Safely convert tables into elisp lists."
(unless (stringp str)
- (error "`org-babel-script-escape' expects a string."))
+ (error "`org-babel-script-escape' expects a string"))
(let ((escaped
(cond
((and (> (length str) 2)