bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] 21.2 files.el -- auto-mode-alist to support .bash extension (sh-


From: Jari Aalto+mail.emacs
Subject: [patch] 21.2 files.el -- auto-mode-alist to support .bash extension (sh-mode)
Date: Tue, 03 Sep 2002 16:41:17 +0300
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-*-nt5.0.2195) (i386-*-nt5.0.2195)

2002-09-03 Tue  Jari Aalto  <address@hidden>

        * files.el (auto-mode-alist): Turn on `sh-mode' on files ending
        to extension `.bash'



--- files.el.orig       2002-09-03 16:31:08.000000000 +0300
+++ files.el    2002-09-03 16:32:04.000000000 +0300
@@ -1394,6 +1394,7 @@
      ("\\$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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]