projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b9158
)
* lisp/progmodes/sh-script.el (sh-mode): Recognize mkshrc.
author
Mark Oteiza
<mvoteiza@udel.edu>
Wed, 26 Jul 2017 02:13:20 +0000
(22:13 -0400)
committer
Mark Oteiza
<mvoteiza@udel.edu>
Wed, 26 Jul 2017 02:13:20 +0000
(22:13 -0400)
lisp/progmodes/sh-script.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/sh-script.el
b/lisp/progmodes/sh-script.el
index 35b555e687978646d2dd054f8444cb20272525e0..23e79f6ac591754888f6166cce949f1a094e3f94 100644
(file)
--- a/
lisp/progmodes/sh-script.el
+++ b/
lisp/progmodes/sh-script.el
@@
-1683,6
+1683,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 "[.]mkshrc\\>" buffer-file-name) "mksh")
((string-match "[.]t?csh\\(rc\\)?\\>" buffer-file-name) "csh")
((string-match "[.]zsh\\(rc\\|env\\)?\\>" buffer-file-name) "zsh")
((equal (file-name-nondirectory buffer-file-name) ".profile") "sh")