branch: externals/auctex-cont-latexmk
commit d052e767e6feeb0df91707b806451d300ed3af9a
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
Add synctex=1 to default compile command
---
czm-tex-compile.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/czm-tex-compile.el b/czm-tex-compile.el
index 195d08b84d..2df2fd24aa 100644
--- a/czm-tex-compile.el
+++ b/czm-tex-compile.el
@@ -45,7 +45,7 @@
(require 'esh-mode)
(defcustom czm-tex-compile-command
- "latexmk -shell-escape -pvc -pdf -view=none -e '$pdflatex=q/pdflatex %O
-interaction=nonstopmode %S/'"
+ "latexmk -shell-escape -pvc -pdf -view=none -synctex=1 -e
'$pdflatex=q/pdflatex %O -interaction=nonstopmode %S/'"
"Command to compile LaTeX documents."
:type 'string
:group 'czm-tex-compile)