(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) ;; Don't format python docstrings according to any particular convention. ;; The fill-paragraph function should word-wrap the docstring, but should ;; not (for example) delete the line break after the triple quotes. (setq python-fill-docstring-style nil) ) (add-hook 'python-mode-hook (function pym-hook))