diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 000427f5cbe..f1956f609e2 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1297,7 +1297,7 @@ with your script for an edit-interpret-debug cycle." "rpm"))))) (if interpreter (sh-set-shell interpreter nil nil) - (sh-set-shell sh-shell-file nil t)) + (sh-set-shell sh-shell-file nil nil)) (run-hooks 'sh-mode-hook))) ;;;###autoload (defalias 'shell-script-mode 'sh-mode)