Comment 16 for bug 912919

Revision history for this message
In , Andreas Roehler (a-roehler) wrote : Re: [Bug 912919]

Am 11.08.2013 11:40, schrieb Ondrej-grover:
> So far the best workaround seems to be to alias that variable in .emacs
>
> (require 'python-mode)
> (setq py-mode-map python-mode-map)
>
>
> Maybe something like that should be added to a site-gentoo.d/ file for python-mode, for backwards compatibility.
>
> something like
>
> (add-hook 'python-mode-hook
> (lambda ()
> (defvaralias 'py-mode-map 'python-mode-map)))
>
> But I wasn't able to get that working.
>

(defvaralias 'py-mode-map 'python-mode-map)

is delivered by python-mode.el.