]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - mode-hooks/python-mode-hooks.el
mode-hooks/python-mode-hooks.el: don't mangle docstrings please.
[emacs.d.git] / mode-hooks / python-mode-hooks.el
index 91b73f47c81aff542e5196b43049dddafeaf28a3..32cf30fb9617804b9f7e87504d0e3d19e2868e11 100644 (file)
@@ -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)
 )