Python-mode fails on emacs 22

Asked by John C

The ":safe" keyword to defcustom was added in emacs 23, and causes the defcustom that comes with emacs 22 to choke when python-mode is loaded.

Is there any workaround for this, other than upgrading to, and working through all the issues with, emacs 23?

Is the :safe keyword really necessary? What dire things might happen if I were to chop out all references to it in python-mode.el?

Question information

Language:
English Edit question
Status:
Solved
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Solved by:
Andreas Roehler
Solved:
Last query:
Last reply:
Revision history for this message
Best Andreas Roehler (a-roehler) said :
#1

Am 23.10.2012 17:21, schrieb John C:
> New question #212093 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/212093
>
> The ":safe" keyword to defcustom was added in emacs 23, and causes the defcustom that comes with emacs 22 to choke when python-mode is loaded.
>
> Is there any workaround for this, other than upgrading to, and working through all the issues with, emacs 23?
>
> Is the :safe keyword really necessary? What dire things might happen if I were to chop out all references to it in python-mode.el?
>

Will remove it, thanks.

Revision history for this message
John C (jmcmatrix) said :
#2

Thanks Andreas Roehler, that solved my question.