]> gitweb.michael.orlitzky.com - emacs.d.git/blobdiff - mode-hooks/python-mode-hooks.el
mode-hooks/python-mode-hooks.el: use "django" style docstrings.
[emacs.d.git] / mode-hooks / python-mode-hooks.el
index 91b73f47c81aff542e5196b43049dddafeaf28a3..9c3cf70d77a3f66107769c6a4553fb692a61373e 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)
+
+  ;; Use "django" style for python docstrings. This ensures that the
+  ;; leading triple quotes remain on their own line when you paragraph-
+  ;; fill the first paragraph of the docstring.
+  (setq python-fill-docstring-style 'django)
 )