diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-08-13 17:05:44 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-08-13 17:05:44 -0400 |
commit | acac9f4d727072b31914c9224957ff8dfec97df1 (patch) | |
tree | a2de55fa9209e7c0f9261335e07fbe678041f8fe /lisp | |
parent | c24e742e00775a3e6964f32a521460345c9e07cb (diff) | |
download | emacs-acac9f4d727072b31914c9224957ff8dfec97df1.tar.gz |
* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
Diffstat (limited to 'lisp')
-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 6709e751ecd..735c8f96888 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -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) |