ox-texinfo: Put Texinfo output into `compilation-mode'

* lisp/ox-texinfo.el (org-texinfo-compile): Put Texinfo output into
  `compilation-mode'.

Suggested-by: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/97961>
This commit is contained in:
Nicolas Goaziou 2015-05-29 11:31:01 +02:00
parent 0ed99a4c8c
commit 1bd26e2d81
1 changed files with 1 additions and 0 deletions

View File

@ -1593,6 +1593,7 @@ Return INFO file name or an error if it couldn't be produced."
;; before applying it. Output is redirected to "*Org INFO
;; Texinfo Output*" buffer.
(let ((outbuf (get-buffer-create "*Org INFO Texinfo Output*")))
(with-current-buffer outbuf (compilation-mode))
(dolist (command org-texinfo-info-process)
(shell-command
(replace-regexp-in-string