summaryrefslogtreecommitdiff
path: root/app-emacs/python-mode/files/50python-mode-gentoo.el
blob: 75812316482aaa9d37327454f9c15bea3912df8f (plain)
1
2
3
4
5
6
7
8
9
10
11
(add-to-list 'load-path "@SITELISP@")

(autoload 'python-mode "python-mode" "Major mode for editing Python files." t)
(autoload 'jython-mode "python-mode" "Major mode for editing Jython files." t)
(autoload 'py-shell "python-mode"
  "Start an interactive Python interpreter in another window." t)

(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
(add-to-list 'auto-mode-alist '("\\.pyx$" . python-mode))
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))