--- 50python-mode.el.orig 2008-09-14 16:56:48.000000000 +0200 +++ 50python-mode.el.patched 2008-09-14 17:00:48.000000000 +0200 @@ -1,5 +1,7 @@ ;-*-emacs-lisp-*- +(if (<= emacs-major-version 21) + (autoload 'python-mode "python-mode" "Python editing mode." t) (autoload 'py-shell "python-mode" "Interactive Python interpreter." t) (autoload 'doctest-mode "doctest-mode" "Python doctest editing mode." t) @@ -36,3 +38,5 @@ '("python2.5" . python-mode) ) interpreter-mode-alist)) +) +