Comment 14 for bug 155681

Revision history for this message
Brad Crittenden (bac) wrote :

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")))