From: Michael Orlitzky Date: Fri, 15 Nov 2019 17:32:10 +0000 (-0500) Subject: mode-hooks/python-mode-hooks.el: don't mangle docstrings please. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=emacs.d.git;a=commitdiff_plain;h=cf5775ba8cc0672bf5f37c6be9e0165f186bcf23 mode-hooks/python-mode-hooks.el: don't mangle docstrings please. --- diff --git a/mode-hooks/python-mode-hooks.el b/mode-hooks/python-mode-hooks.el index 91b73f4..32cf30f 100644 --- a/mode-hooks/python-mode-hooks.el +++ b/mode-hooks/python-mode-hooks.el @@ -3,6 +3,11 @@ ;; 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) )