mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Add .bashrc detection to sh-mode
* lisp/progmodes/sh-script.el (sh-mode): Add .bashrc string-match (bug#54727).
This commit is contained in:
parent
51a98a92e9
commit
e32dcc7527
1 changed files with 1 additions and 1 deletions
|
|
@ -1549,7 +1549,7 @@ with your script for an edit-interpret-debug cycle."
|
|||
;; Checks that use `buffer-file-name' follow.
|
||||
((string-match "\\.m?spec\\'" buffer-file-name) "rpm")
|
||||
((string-match "[.]sh\\>" buffer-file-name) "sh")
|
||||
((string-match "[.]bash\\>" buffer-file-name) "bash")
|
||||
((string-match "[.]bash\\(rc\\)?\\>" buffer-file-name) "bash")
|
||||
((string-match "[.]ksh\\>" buffer-file-name) "ksh")
|
||||
((string-match "[.]mkshrc\\>" buffer-file-name) "mksh")
|
||||
((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue