From c3240ca540baa21d017512e8b2fcbdcbade08864 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 27 Nov 2022 09:58:02 +0200 Subject: [PATCH] ; * lisp/progmodes/sh-script.el (sh--redirect-bash-ts-mode): Doc fix. --- lisp/progmodes/sh-script.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5