diff options
author | Ulrich Müller <ulm@gentoo.org> | 2011-11-23 17:32:57 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2011-11-23 17:32:57 +0000 |
commit | c47ee81c94fdb6f9a9a98150d10817df57e75ce8 (patch) | |
tree | 10b8854b5a1d0bfa537c830d1cab0c2b3719eed6 /app-emacs/python-mode/files | |
parent | [bump] virtual/perl-IO-Compress-2.43.0 (diff) | |
download | historical-c47ee81c94fdb6f9a9a98150d10817df57e75ce8.tar.gz historical-c47ee81c94fdb6f9a9a98150d10817df57e75ce8.tar.bz2 historical-c47ee81c94fdb6f9a9a98150d10817df57e75ce8.zip |
Define obsolete variables properly, in order to prevent a crash with dev-python/ipython. Fixes bug 391403.
Package-Manager: portage-2.1.10.37/cvs/Linux x86_64
Diffstat (limited to 'app-emacs/python-mode/files')
-rw-r--r-- | app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch b/app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch new file mode 100644 index 000000000000..cd08f9720d9b --- /dev/null +++ b/app-emacs/python-mode/files/python-mode-6.0.3-obsolete-vars.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/391403 + +--- python-mode.el-6.0.3-orig/python-mode.el ++++ python-mode.el-6.0.3/python-mode.el +@@ -163,11 +163,11 @@ + ;; Execute stuff start + + ;; backward compatibility +-(defalias 'py-python-command 'py-shell-name) +-(defalias 'py-jpython-command 'py-shell-name) +-(defalias 'py-jython-command 'py-shell-name) +-(defalias 'py-default-interpreter 'py-shell-name) +-(defalias 'python-command 'py-shell-name) ++(defvaralias 'py-python-command 'py-shell-name) ++(defvaralias 'py-jpython-command 'py-shell-name) ++(defvaralias 'py-jython-command 'py-shell-name) ++(defvaralias 'py-default-interpreter 'py-shell-name) ++(defvaralias 'python-command 'py-shell-name) + + (defcustom py-encoding-string " # -*- coding: utf-8 -*-" + "Default string specifying encoding in the heading of file. " |