1
0
Fork 0

fix(emacs): change zathura opening process

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-02-28 19:00:24 -05:00
parent d3cdc74f89
commit aed173cef5
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -22,9 +22,8 @@
(unless (zerop (length --pdf-files)) (unless (zerop (length --pdf-files))
(defconst --pdf-command "zathura") (defconst --pdf-command "zathura")
(defconst --pdf-file (car --pdf-files)) (defconst --pdf-file (car --pdf-files))
(defconst --shell-command (format "%s %s" --pdf-command --pdf-file))
(setq-local async-shell-command-buffer 'rename-buffer) (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) (defun latex-env-theorem (environment)
"Insert ENVIRONMENT with the given name and ref specifications." "Insert ENVIRONMENT with the given name and ref specifications."