Commits

Anonymous committed 322d80b

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

  • Participants
  • Parent commits 700ae88

Comments (0)

Files changed (2)

+2002-09-30  Ville Skyttä  <ville.skytta@xemacs.org>
+
+	* python-mode.el: Add autoloaded auto-mode-alist and
+	interpreter-mode-alist associations.
+
 2002-09-25  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.00 released.

File python-mode.el

     (push '(py-pdbtrack-is-tracking-p py-pdbtrack-minor-mode-string)
 	  minor-mode-alist))
 
-
 
+;; XEmacs additions
+;;;###autoload
+(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
+;;;###autoload
+(add-to-list 'interpreter-mode-alist '("python" . python-mode))
+
 (provide 'python-mode)
 ;;; python-mode.el ends here