Commits

Anonymous committed ff39431

Associate *.bash, *.in variants with sh-mode <200802092338.08212.scop@xemacs.org>

Comments (0)

Files changed (2)

+2008-02-09  Ville Skyttä  <scop@xemacs.org>
+
+	* sh-script.el (auto-mode-alist): Add *.bash, *.in variants.
+
 2007-02-07  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.22 released.
 
 ;; XEmacs change
 ;;;###autoload(add-to-list 'auto-mode-alist '("/\\.\\(?:bash_\\|z\\)?\\(profile\\|login\\|logout\\)\\'" . sh-mode))
-;;;###autoload(add-to-list 'auto-mode-alist '("/\\.\\(?:[ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\'" . sh-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("/\\.\\(?:[ckz]sh\\|bash\\|tcsh\\|es\\|xinit\\|startx\\)rc\\(?:\\.in\\)?\\'" . sh-mode))
 ;;;###autoload(add-to-list 'auto-mode-alist '("/\\.\\(?:[kz]shenv\\|xsession\\)\\'" . sh-mode))
 ;;;###autoload(setq auto-mode-alist (append auto-mode-alist '(("\\.m?spec$" . sh-mode))))
-;;;###autoload(add-to-list 'auto-mode-alist '("\\.\\(?:[ckz]?sh\\|shar\\)\\'" . sh-mode))
+;;;###autoload(add-to-list 'auto-mode-alist '("\\.\\(?:\\(?:ba\\|[ckz]\\)?sh\\|shar\\)\\(?:\\.in\\)?\\'" . sh-mode))
 ;;;###autoload(add-to-list 'interpreter-mode-alist '("^#!.*csh" . sh-mode))
 ;;;###autoload(add-to-list 'interpreter-mode-alist '("^#!.*sh\\b" . sh-mode))
 ;;;###autoload(add-to-list 'interpreter-mode-alist '("^:" . sh-mode))