update for emacs 24.4's python-mode