From aed173cef55d2294668b4a1b64394ee82a909842 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Wed, 28 Feb 2024 19:00:24 -0500 Subject: [PATCH] fix(emacs): change zathura opening process Signed-off-by: Lucas Sta Maria --- .emacs.d/include/latexconfig.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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."