The problem lies with the file /etc/emacs/site-start.d/50python-mode.el
Python-mode should only be loaded if the version of emacs is not emacs20 or emacs22.
The current test is:
(if (not (or (eq (symbol-name debian-emacs-flavor) "emacs20") (eq (symbol-name debian-emacs-flavor) "emacs22")))
It should be:
(if (not (or (string= (symbol-name debian-emacs-flavor) "emacs20") (string= (symbol-name debian-emacs-flavor) "emacs22")))
The problem lies with the file /etc/emacs/ site-start. d/50python- mode.el
Python-mode should only be loaded if the version of emacs is not emacs20 or emacs22.
The current test is:
(if (not (or (eq (symbol-name debian- emacs-flavor) "emacs20") emacs-flavor) "emacs22")))
(eq (symbol-name debian-
It should be:
(if (not (or (string= (symbol-name debian- emacs-flavor) "emacs20")
(string= (symbol-name debian- emacs-flavor) "emacs22")))