Make pdfmode work with latexmk

This commit is contained in:
Ivan Malison 2016-07-08 11:19:44 -07:00
parent 19a5431e4c
commit a289fcc49e
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1657,6 +1657,7 @@ Sets environment variables by starting a shell
:config :config
(progn (progn
(unbind-key "C-j" TeX-mode-map) (unbind-key "C-j" TeX-mode-map)
(TeX-global-PDF-mode)
(setq TeX-auto-save t (setq TeX-auto-save t
TeX-parse-self t TeX-parse-self t
TeX-save-query nil TeX-save-query nil
@ -1678,7 +1679,9 @@ Sets environment variables by starting a shell
(use-package auctex-latexmk (use-package auctex-latexmk
:after tex :after tex
:config :config
(progn (auctex-latexmk-setup))) (progn
(setq auctex-latexmk-inherit-TeX-PDF-mode t)
(auctex-latexmk-setup)))
#+END_SRC #+END_SRC
**** company-auctex **** company-auctex
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp