]> git.eshelyaron.com Git - emacs.git/commitdiff
Recognize MirBSD Korn shell rc file
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 25 Jul 2017 00:13:33 +0000 (20:13 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Tue, 25 Jul 2017 00:13:33 +0000 (20:13 -0400)
* lisp/files.el (auto-mode-alist): Add .mkshrc to the list.

lisp/files.el

index 2f3efa33c2877958a464e62e422eaeb52a559c66..321a35b530d5460cfe29d21e181c6908fb34b16e 100644 (file)
@@ -2543,7 +2543,7 @@ since only a single case-insensitive search through the alist is made."
      ("\\.[ckz]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode)
      ("\\.bash\\'" . sh-mode)
      ("\\(/\\|\\`\\)\\.\\(bash_\\(profile\\|history\\|log\\(in\\|out\\)\\)\\|z?log\\(in\\|out\\)\\)\\'" . sh-mode)
-     ("\\(/\\|\\`\\)\\.\\(shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
+     ("\\(/\\|\\`\\)\\.\\(shrc\\|zshrc\\|m?kshrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode)
      ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode)
      ("\\.m?spec\\'" . sh-mode)
      ("\\.m[mes]\\'" . nroff-mode)