summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-02-20 13:48:07 +0000
committerUlrich Müller <ulm@gentoo.org>2011-02-20 13:48:07 +0000
commitc5a2a63ec911222f3b0da200459e43d1f4d79f11 (patch)
tree81a30f3d61a97382c1e68487ff9fda408404cfbf /app-emacs/python-mode/files
parentFix compilation for userpriv (diff)
downloadgentoo-2-c5a2a63ec911222f3b0da200459e43d1f4d79f11.tar.gz
gentoo-2-c5a2a63ec911222f3b0da200459e43d1f4d79f11.tar.bz2
gentoo-2-c5a2a63ec911222f3b0da200459e43d1f4d79f11.zip
Version bump. Call elisp-site-regen in postinst phase, fixes bug 355451.
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/python-mode/files')
-rw-r--r--app-emacs/python-mode/files/50python-mode-gentoo.el10
1 files changed, 10 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..bdb5c12ceb6b
--- /dev/null
+++ b/app-emacs/python-mode/files/50python-mode-gentoo.el
@@ -0,0 +1,10 @@
+(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 'interpreter-mode-alist '("python" . python-mode))
+(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))