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