diff options
Diffstat (limited to 'app-emacs/python-mode/files/50python-mode-gentoo.el')
-rw-r--r-- | app-emacs/python-mode/files/50python-mode-gentoo.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emacs/python-mode/files/50python-mode-gentoo.el b/app-emacs/python-mode/files/50python-mode-gentoo.el new file mode 100644 index 000000000000..75812316482a --- /dev/null +++ b/app-emacs/python-mode/files/50python-mode-gentoo.el @@ -0,0 +1,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)) |