From 653dfd62d0c217e146a325830aec57a9e46090c5 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 1 Mar 2016 15:24:54 -0500 Subject: [PATCH] Use setq-default for TeX-command-extra-options --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 250e682..0523790 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -254,11 +254,11 @@ (use-package latex :config - (setq TeX-command-extra-options "-shell-escape") (define-key LaTeX-mode-map (kbd "C-z") '(lambda () (interactive) (save-buffer) (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) (add-hook 'LaTeX-mode-hook 'TeX-source-correlate-mode) (defun latex-tsv-to-table ()