Made build-view always recompile tex
This commit is contained in:
parent
2e389089ea
commit
a074122fc2
1 changed files with 6 additions and 7 deletions
|
@ -13,13 +13,12 @@
|
|||
(progn
|
||||
(defun auctex/build-view ()
|
||||
(interactive)
|
||||
(if (buffer-modified-p)
|
||||
(progn
|
||||
(let ((TeX-save-query nil))
|
||||
(TeX-save-document (TeX-master-file)))
|
||||
(setq build-proc (TeX-command "LaTeX" 'TeX-master-file -1))
|
||||
(set-process-sentinel build-proc 'auctex/build-sentinel))
|
||||
(TeX-view)))
|
||||
(TeX-view))
|
||||
|
||||
(defun auctex/build-sentinel (process event)
|
||||
(if (string= event "finished\n")
|
||||
|
|
Reference in a new issue