diff --git a/lisp/ob-coq.el b/lisp/ob-coq.el index be3b9f6fd..b6ebcff0e 100644 --- a/lisp/ob-coq.el +++ b/lisp/ob-coq.el @@ -69,7 +69,7 @@ If there is not a current inferior-process-buffer in SESSION then create one. Return the initialized session." (unless (fboundp 'run-coq) - (error "`run-coq' not defined, load coq-inferior.el.")) + (error "`run-coq' not defined, load coq-inferior.el")) (save-window-excursion (run-coq "coqtop")) (sit-for 0.1) (get-buffer org-babel-coq-buffer)) 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)))) diff --git a/lisp/org-macro.el b/lisp/org-macro.el index 60b298279..0ceb0db3e 100644 --- a/lisp/org-macro.el +++ b/lisp/org-macro.el @@ -196,7 +196,7 @@ found in the buffer with no definition in TEMPLATES." ;; expansions. (save-excursion (insert value))) (finalize - (error "Undefined Org macro: %s; aborting." + (error "Undefined Org macro: %s; aborting" (org-element-property :key object)))))))))))) (defun org-macro-escape-arguments (&rest args) diff --git a/lisp/org.el b/lisp/org.el index db2b6c036..b0e43809d 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -19014,7 +19014,7 @@ horizontal and vertical directions." (if (display-graphic-p) (round (/ (display-pixel-height) (/ (display-mm-height) 25.4))) - (error "Attempt to calculate the dpi of a non-graphic display."))) + (error "Attempt to calculate the dpi of a non-graphic display"))) ;; This function borrows from Ganesh Swami's latex2png.el (defun org-create-formula-image-with-dvipng (string tofile options buffer)