diff --git a/.emacs.d/include/latexconfig.el b/.emacs.d/include/latexconfig.el index de3f7e4..62c9539 100644 --- a/.emacs.d/include/latexconfig.el +++ b/.emacs.d/include/latexconfig.el @@ -22,9 +22,8 @@ (unless (zerop (length --pdf-files)) (defconst --pdf-command "zathura") (defconst --pdf-file (car --pdf-files)) - (defconst --shell-command (format "%s %s" --pdf-command --pdf-file)) (setq-local async-shell-command-buffer 'rename-buffer) - (async-shell-command --shell-command))))) + (async-start-process "" --pdf-command nil --pdf-file))))) (defun latex-env-theorem (environment) "Insert ENVIRONMENT with the given name and ref specifications."