diff options
| author | Eli Zaretskii | 2022-11-27 09:58:02 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2022-11-27 09:58:02 +0200 |
| commit | c3240ca540baa21d017512e8b2fcbdcbade08864 (patch) | |
| tree | 7babf7346d9a8f0ab00fdcb65cf3316077a0443b | |
| parent | 40ff40198d817b1385694499a4dce9adb313ea6f (diff) | |
| download | emacs-c3240ca540baa21d017512e8b2fcbdcbade08864.tar.gz emacs-c3240ca540baa21d017512e8b2fcbdcbade08864.zip | |
; * lisp/progmodes/sh-script.el (sh--redirect-bash-ts-mode): Doc fix.
| -rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 1628 | 1628 | ||
| 1629 | (defvar sh--redirect-recursing nil) | 1629 | (defvar sh--redirect-recursing nil) |
| 1630 | (defun sh--redirect-bash-ts-mode (oldfn) | 1630 | (defun sh--redirect-bash-ts-mode (oldfn) |
| 1631 | "Redirect to `sh-mode' if the current file is not written in Bash. | 1631 | "Redirect to `sh-mode' if the current file is not written in Bash or sh. |
| 1632 | OLDFN should be `bash-ts-mode'." | 1632 | OLDFN should be `bash-ts-mode'." |
| 1633 | (let ((sh--redirect-recursing sh--redirect-recursing)) | 1633 | (let ((sh--redirect-recursing sh--redirect-recursing)) |
| 1634 | (funcall (if (or delay-mode-hooks sh--redirect-recursing) | 1634 | (funcall (if (or delay-mode-hooks sh--redirect-recursing) |