From: Mark Oteiza Date: Wed, 26 Jul 2017 02:13:20 +0000 (-0400) Subject: * lisp/progmodes/sh-script.el (sh-mode): Recognize mkshrc. X-Git-Tag: emacs-26.0.90~517^2~106 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d30cf6be29a5a5503f8f2f2c20c7241c15be5d5;p=emacs.git * lisp/progmodes/sh-script.el (sh-mode): Recognize mkshrc. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 35b555e6879..23e79f6ac59 100644 --- 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")