aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2015-08-13 17:05:44 -0400
committerStefan Monnier2015-08-13 17:05:44 -0400
commitacac9f4d727072b31914c9224957ff8dfec97df1 (patch)
treea2de55fa9209e7c0f9261335e07fbe678041f8fe /lisp
parentc24e742e00775a3e6964f32a521460345c9e07cb (diff)
downloademacs-acac9f4d727072b31914c9224957ff8dfec97df1.tar.gz
emacs-acac9f4d727072b31914c9224957ff8dfec97df1.zip
* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/sh-script.el2
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."
1675 ((string-match "[.]sh\\>" buffer-file-name) "sh") 1675 ((string-match "[.]sh\\>" buffer-file-name) "sh")
1676 ((string-match "[.]bash\\>" buffer-file-name) "bash") 1676 ((string-match "[.]bash\\>" buffer-file-name) "bash")
1677 ((string-match "[.]ksh\\>" buffer-file-name) "ksh") 1677 ((string-match "[.]ksh\\>" buffer-file-name) "ksh")
1678 ((string-match "[.]csh\\>" buffer-file-name) "csh") 1678 ((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
1679 ((equal (file-name-nondirectory buffer-file-name) ".profile") "sh") 1679 ((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")
1680 (t sh-shell-file)) 1680 (t sh-shell-file))
1681 nil nil) 1681 nil nil)