From 239d3a14577a5a1b26cd29071a4ead079e8f1119 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Fri, 16 Dec 2022 12:44:05 -0900 Subject: [PATCH] Hugo compiles over remote connections smoothly now --- lisp/mitch-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 657d978..59f14d9 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -599,7 +599,7 @@ Return nil if DIR is not in a hugo project at all." (with-current-buffer buffer (compilation-mode) (if (zerop (let ((inhibit-read-only t)) - (call-process "sh" nil buffer t "-c" "hugo"))) + (shell-command "hugo" buffer))) (message "Hugo re-generated!") (error "Hugo Failed, better change something!")))))))) (add-hook 'after-save-hook