1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 07:00:35 -08:00

; * lisp/progmodes/sh-script.el (sh--redirect-bash-ts-mode): Doc fix.

This commit is contained in:
Eli Zaretskii 2022-11-27 09:58:02 +02:00
parent 40ff40198d
commit c3240ca540

View file

@ -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)