From cf5775ba8cc0672bf5f37c6be9e0165f186bcf23 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 15 Nov 2019 12:32:10 -0500 Subject: [PATCH] mode-hooks/python-mode-hooks.el: don't mangle docstrings please. --- mode-hooks/python-mode-hooks.el | 5 +++++ 1 file changed, 5 insertions(+) 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) ) -- 2.44.2