diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2015-01-26 02:53:15 -0500 |
---|---|---|
committer | Aaron Ecay <aaronecay@gmail.com> | 2015-01-26 02:53:15 -0500 |
commit | 076e0ea518e02c6634b0b26b4ea7c891b7595b29 (patch) | |
tree | 456b448d411f956cbc8cf68feb86537108c63e96 /lisp/ob-latex.el | |
parent | cd6fa4c15e8e35afa6beb9e89ad3723fb82df091 (diff) |
Fix error messages.
* lisp/ob-coq.el (org-babel-coq-initiate-session):
* lisp/ob-latex.el (org-babel-execute:latex):
* lisp/org-macro.el (org-macro-replace-all):
* lisp/org.el (org--get-display-dpi): Fix formatting of error
messages.
Diffstat (limited to 'lisp/ob-latex.el')
-rw-r--r-- | lisp/ob-latex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-latex.el b/lisp/ob-latex.el index 54e8c01be..ba83bf966 100644 --- a/lisp/ob-latex.el +++ b/lisp/ob-latex.el @@ -176,14 +176,14 @@ This function is called by `org-babel-execute-src-block'." (shell-command (format "mv %s %s" (concat (file-name-sans-extension tex-file) "-1.svg") out-file))) - (error "SVG file produced but HTML file requested."))) + (error "SVG file produced but HTML file requested"))) ((file-exists-p (concat (file-name-sans-extension tex-file) ".html")) (if (string-match "\\.html$" out-file) (shell-command "mv %s %s" (concat (file-name-sans-extension tex-file) ".html") out-file) - (error "HTML file produced but SVG file requested."))))) + (error "HTML file produced but SVG file requested"))))) ((string-match "\\.\\([^\\.]+\\)$" out-file) (error "Can not create %s files, please specify a .png or .pdf file or try the :imagemagick header argument" (match-string 1 out-file)))) |