ox-latex: Do not message "PDF file produced" for fragments

* lisp/ox-latex.el (org-latex-compile): Do not message "PDF file
  produced" for fragments.
This commit is contained in:
Nicolas Goaziou 2014-11-16 17:58:11 +01:00
parent 6b3aa71061
commit 919722a6a6
1 changed files with 14 additions and 13 deletions

View File

@ -3163,7 +3163,8 @@ Return PDF file name or an error if it couldn't be produced."
(error (format "PDF file %s wasn't produced" pdffile))
;; Else remove log files, when specified, and signal end of
;; process to user, along with any error encountered.
(when (and (not snippet) org-latex-remove-logfiles)
(unless snippet
(when org-latex-remove-logfiles
(dolist (file (directory-files
out-dir t
(concat (regexp-quote base-name)
@ -3175,7 +3176,7 @@ Return PDF file name or an error if it couldn't be produced."
(cond
((eq warnings 'error) " with errors.")
(warnings (concat " with warnings: " warnings))
(t ".")))))
(t "."))))))
;; Return output file name.
pdffile))))