diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-26 15:31:48 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-26 15:40:25 -0800 |
commit | 3fe5fc3dc164fbc12c7716d6b5430f2b85833290 (patch) | |
tree | 8587a95fdcdfc7d50f2ef7c47ced29914be730ea /lisp/emacs-lisp | |
parent | bd10c3cfa29af24295f067b08a0c9d6a4fd02736 (diff) | |
download | emacs-3fe5fc3dc164fbc12c7716d6b5430f2b85833290.tar.gz emacs-3fe5fc3dc164fbc12c7716d6b5430f2b85833290.tar.bz2 emacs-3fe5fc3dc164fbc12c7716d6b5430f2b85833290.zip |
Make bash-ts-mode fall back to sh-mode if the file isn't in Bash
* lisp/progmodes/sh-script.el (sh--guess-shell): Take out into a new
function.
(sh-base-mode): Use the new function.
(bash-ts-mode): Update docstring.
(sh--redirect-recursing): New variable.
(sh--redirect-bash-ts-mode): New function.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions