projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24e742
)
* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 13 Aug 2015 21:05:44 +0000
(17:05 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 13 Aug 2015 21:05:44 +0000
(17:05 -0400)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 6709e751ecd7062eae214285bddd3ff28d510185..735c8f968882b130d08f9ea6773c0c4f6cf6d78f 100644
(file)
--- 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)