diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index fee86dde7bf..408ebfc0451 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1628,7 +1628,7 @@ not written in Bash or sh." (defvar sh--redirect-recursing nil) (defun sh--redirect-bash-ts-mode (oldfn) - "Redirect to `sh-mode' if the current file is not written in Bash. + "Redirect to `sh-mode' if the current file is not written in Bash or sh. OLDFN should be `bash-ts-mode'." (let ((sh--redirect-recursing sh--redirect-recursing)) (funcall (if (or delay-mode-hooks sh--redirect-recursing)