unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* [patch] 21.2 files.el -- auto-mode-alist to support .bash extension (sh-mode)
@ 2002-09-03 13:41 Jari Aalto+mail.emacs
  0 siblings, 0 replies; only message in thread
From: Jari Aalto+mail.emacs @ 2002-09-03 13:41 UTC (permalink / raw)



2002-09-03 Tue  Jari Aalto  <jari.aalto@poboxes.com>

        * 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-03 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 13:41 [patch] 21.2 files.el -- auto-mode-alist to support .bash extension (sh-mode) Jari Aalto+mail.emacs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).