Emacs: set to scroll output for TeX compilation.
parent
09ae3c5686
commit
7ab60e1919
|
@ -200,7 +200,12 @@ variable, e.g. on the first line:
|
||||||
(setq tex-my-compile-command (concat tex-my-compiler " " tex-my-shell-escape " " tex-my-compiler-options " " tex-my-startcommands " " buffer-file-name))
|
(setq tex-my-compile-command (concat tex-my-compiler " " tex-my-shell-escape " " tex-my-compiler-options " " tex-my-startcommands " " buffer-file-name))
|
||||||
;; (message tex-my-compile-command) ;; Debug only.
|
;; (message tex-my-compile-command) ;; Debug only.
|
||||||
(save-buffer)
|
(save-buffer)
|
||||||
|
(setq compilation-scroll-output t)
|
||||||
(compile tex-my-compile-command)
|
(compile tex-my-compile-command)
|
||||||
|
|
||||||
|
;; If no user interaction for 2 seconds, hide the compilation window.
|
||||||
|
(sit-for 2)
|
||||||
|
(delete-windows-on "*compilation*")
|
||||||
)
|
)
|
||||||
|
|
||||||
;; TODO: rewrite this function using lists and/or macros.
|
;; TODO: rewrite this function using lists and/or macros.
|
||||||
|
|
Loading…
Reference in New Issue