diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-emacs/python-mode/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emacs/python-mode/files')
-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)) |