Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emacs/python-mode/files: python-mode-6.0.3-obsolete-vars.patch
Date: Wed, 23 Nov 2011 17:33:06
Message-Id: 20111123173257.34E6B2004C@flycatcher.gentoo.org
1 ulm 11/11/23 17:32:57
2
3 Added: python-mode-6.0.3-obsolete-vars.patch
4 Log:
5 Define obsolete variables properly, in order to prevent a crash with dev-python/ipython. Fixes bug 391403.
6
7 (Portage version: 2.1.10.37/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch?rev=1.1&content-type=text/plain
14
15 Index: python-mode-6.0.3-obsolete-vars.patch
16 ===================================================================
17 https://bugs.gentoo.org/391403
18
19 --- python-mode.el-6.0.3-orig/python-mode.el
20 +++ python-mode.el-6.0.3/python-mode.el
21 @@ -163,11 +163,11 @@
22 ;; Execute stuff start
23
24 ;; backward compatibility
25 -(defalias 'py-python-command 'py-shell-name)
26 -(defalias 'py-jpython-command 'py-shell-name)
27 -(defalias 'py-jython-command 'py-shell-name)
28 -(defalias 'py-default-interpreter 'py-shell-name)
29 -(defalias 'python-command 'py-shell-name)
30 +(defvaralias 'py-python-command 'py-shell-name)
31 +(defvaralias 'py-jpython-command 'py-shell-name)
32 +(defvaralias 'py-jython-command 'py-shell-name)
33 +(defvaralias 'py-default-interpreter 'py-shell-name)
34 +(defvaralias 'python-command 'py-shell-name)
35
36 (defcustom py-encoding-string " # -*- coding: utf-8 -*-"
37 "Default string specifying encoding in the heading of file. "