mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
This commit is contained in:
parent
c24e742e00
commit
acac9f4d72
@ -1675,7 +1675,7 @@ with your script for an edit-interpret-debug cycle."
|
||||
((string-match "[.]sh\\>" buffer-file-name) "sh")
|
||||
((string-match "[.]bash\\>" buffer-file-name) "bash")
|
||||
((string-match "[.]ksh\\>" buffer-file-name) "ksh")
|
||||
((string-match "[.]csh\\>" buffer-file-name) "csh")
|
||||
((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
|
||||
((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")
|
||||
(t sh-shell-file))
|
||||
nil nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user