diff --git a/emacs-everywhere.el b/emacs-everywhere.el index 92a949a..334e767 100644 --- a/emacs-everywhere.el +++ b/emacs-everywhere.el @@ -693,7 +693,7 @@ return windowTitle")) (executable-find "pandoc")) (apply #'call-process-region (point-min) (point-max) "pandoc" - nil nil nil + t t t emacs-everywhere-pandoc-md-args) (deactivate-mark) (goto-char (point-max))) (cond ((bound-and-true-p evil-local-mode) (evil-insert-state)))) @@ -760,14 +760,14 @@ Should end in a newline to avoid interfering with the buffer content." (feat-cmds (append var-cmds de-cmds)) executable-list) - (dolist (feat-cmd (delq nil feat-cmds)) - (when (cdr feat-cmd) - (when (and (equal (cadr feat-cmd) "sh") - (equal (caddr feat-cmd) "-c")) - (setcdr feat-cmd (split-string (cadddr feat-cmd)))) - (push (cons (cadr feat-cmd) (car feat-cmd)) - executable-list))) - executable-list)) + (dolist (feat-cmd (delq nil feat-cmds)) + (when (cdr feat-cmd) + (when (and (equal (cadr feat-cmd) "sh") + (equal (caddr feat-cmd) "-c")) + (setcdr feat-cmd (split-string (cadddr feat-cmd)))) + (push (cons (cadr feat-cmd) (car feat-cmd)) + executable-list))) + executable-list)) (defun emacs-everywhere-check-health () "Check whether emacs-everywhere has everything it needs."