Use setq-default for TeX-command-extra-options
This commit is contained in:
parent
e9d1a3ad96
commit
653dfd62d0
@ -254,11 +254,11 @@
|
|||||||
|
|
||||||
(use-package latex
|
(use-package latex
|
||||||
:config
|
:config
|
||||||
(setq TeX-command-extra-options "-shell-escape")
|
|
||||||
(define-key LaTeX-mode-map (kbd "C-z")
|
(define-key LaTeX-mode-map (kbd "C-z")
|
||||||
'(lambda () (interactive)
|
'(lambda () (interactive)
|
||||||
(save-buffer)
|
(save-buffer)
|
||||||
(TeX-command "LaTeX" 'TeX-master-file -1)))
|
(TeX-command "LaTeX" 'TeX-master-file -1)))
|
||||||
|
(setq-default TeX-command-extra-options "-shell-escape")
|
||||||
(define-key LaTeX-mode-map (kbd "C-c e") 'tex-close-latex-block)
|
(define-key LaTeX-mode-map (kbd "C-c e") 'tex-close-latex-block)
|
||||||
(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
|
(add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode)
|
||||||
(defun latex-tsv-to-table ()
|
(defun latex-tsv-to-table ()
|
||||||
|
Loading…
Reference in New Issue
Block a user