From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-emacs/python-mode/files/50python-mode-gentoo.el | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app-emacs/python-mode/files/50python-mode-gentoo.el (limited to 'app-emacs/python-mode/files/50python-mode-gentoo.el') 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)) -- cgit v1.2.3