Add docstring for latex-save-and-compile

This commit is contained in:
Adam Goldsmith 2019-05-30 00:41:02 -04:00
parent 06e8558848
commit a8a38a27db

View File

@ -670,6 +670,7 @@
:config :config
(setq-default TeX-command-extra-options "-shell-escape") (setq-default TeX-command-extra-options "-shell-escape")
(defun latex-save-and-compile () (defun latex-save-and-compile ()
"Pretty much what it says on the tin"
(interactive) (interactive)
(save-buffer) (save-buffer)
(TeX-command "LaTeX" 'TeX-master-file -1)) (TeX-command "LaTeX" 'TeX-master-file -1))