(defun pym-hook() ;; Turn off the live documentation that tries to process the whole ;; file in a temporary location and usually fails, crapping all over ;; my minibuffer in the process. (eldoc-mode 0) ) (add-hook 'python-mode-hook (function pym-hook))