From: Eli Zaretskii Date: Sun, 27 Nov 2022 07:58:02 +0000 (+0200) Subject: ; * lisp/progmodes/sh-script.el (sh--redirect-bash-ts-mode): Doc fix. X-Git-Tag: emacs-29.0.90~1464 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3240ca540baa21d017512e8b2fcbdcbade08864;p=emacs.git ; * lisp/progmodes/sh-script.el (sh--redirect-bash-ts-mode): Doc fix. --- 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)