Got rid of the python-mode and ipython packages, they can be had on MELPA anyway, but this also broke the make-repeatable-command function I was using. Don't know why.