X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mode-hooks%2Fpython-mode-hooks.el;h=9c3cf70d77a3f66107769c6a4553fb692a61373e;hb=HEAD;hp=91b73f47c81aff542e5196b43049dddafeaf28a3;hpb=516bf83a0d45f0fb089077122b7d504674e7e3e7;p=emacs.d.git diff --git a/mode-hooks/python-mode-hooks.el b/mode-hooks/python-mode-hooks.el index 91b73f4..9c3cf70 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) + + ;; 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) )