[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master acac9f4: * lisp/progmodes/sh-script.el (sh-mode): H
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master acac9f4: * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049) |
Date: |
Thu, 13 Aug 2015 21:05:48 +0000 |
branch: master
commit acac9f4d727072b31914c9224957ff8dfec97df1
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049)
---
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 6709e75..735c8f9 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master acac9f4: * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049),
Stefan Monnier <=