Commits

Anonymous committed f36846a

Add auto-mode-alist and interpreter-mode-alist stuff into packages.

Comments (0)

Files changed (3)

+2002-09-30  Ville Skyttä  <ville.skytta@xemacs.org>
+
+	* fortran.el: Add autoloaded auto-mode-alist associations.
+	* f90.el: Ditto.
+
 2002-09-25  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.00 released.
   (save-excursion
     (nth 1 (f90-beginning-of-subprogram))))
 
+;; XEmacs addition
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.[fF]90\\'" . f90-mode))
+
 (provide 'f90)
 
 ;;; f90.el ends here
 			      (indent-tabs-mode fortran-tab-mode-string))
 			    minor-mode-alist)))
 
+;; XEmacs additions
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.f\\(?:or\\)?\\'" . fortran-mode))
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.F\\(?:OR\\)?\\'" . fortran-mode))
+
 (provide 'fortran)
 
 ;;; fortran.el ends here