diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-06-21 07:49:22 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-06-22 19:25:44 -0400 |
commit | 0f01a58c390faf30c33b369fc81b2a14ec5b7f2e (patch) | |
tree | 358768de2c6ca522218c2dfc5dad8af523c518e7 /lisp/emacs-lisp | |
parent | f46b16b9fb00d341f222422a9514f5bd62f29971 (diff) | |
download | emacs-0f01a58c390faf30c33b369fc81b2a14ec5b7f2e.tar.gz emacs-0f01a58c390faf30c33b369fc81b2a14ec5b7f2e.tar.bz2 emacs-0f01a58c390faf30c33b369fc81b2a14ec5b7f2e.zip |
Fix python docstring auto-fill (Bug#36056)
* lisp/progmodes/python.el (python-mode): Set
fill-indent-according-to-mode locally to t. This lets auto-fill do
the right thing when auto-filling inside a docstring. The default was
to nil on 2001-11-25 "(fill-indent-according-to-mode): Default to nil"
with the comment that it "screws up CC-mode's filling tricks". But
presumably it shouldn't be a problem for python-mode.
* test/lisp/progmodes/python-tests.el (python-auto-fill-docstring):
New test.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions