From: Richard M. Stallman Date: Mon, 9 Sep 2002 19:32:41 +0000 (+0000) Subject: (auto-mode-alist): Use sh-mode for .bash files. X-Git-Tag: ttn-vms-21-2-B4~13306 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b921b596bc291fbb449c010c46df88eb05f436c4;p=emacs.git (auto-mode-alist): Use sh-mode for .bash files. --- diff --git a/lisp/files.el b/lisp/files.el index d720c858c0b..46264e0a526 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1530,6 +1530,7 @@ in that case, this function acts as if `enable-local-variables' were t." ("\\$CHANGE_LOG\\$\\.TXT" . change-log-mode) ("\\.scm\\.[0-9]*\\'" . scheme-mode) ("\\.[ck]?sh\\'\\|\\.shar\\'\\|/\\.z?profile\\'" . sh-mode) + ("\\.bash\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\(bash_profile\\|z?login\\|bash_login\\|z?logout\\)\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\(bash_logout\\|shrc\\|[kz]shrc\\|bashrc\\|t?cshrc\\|esrc\\)\\'" . sh-mode) ("\\(/\\|\\`\\)\\.\\([kz]shenv\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode)