diff options
| author | Noam Postavsky | 2019-09-08 10:42:19 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-09-12 20:25:30 -0400 |
| commit | cbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084 (patch) | |
| tree | d03bb7aa2be38b6bb94936bc4fd51304f879d5c4 /src/coding.h | |
| parent | 421084d2cb160261b259bddb687bb2c234f8f1ef (diff) | |
| download | emacs-cbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084.tar.gz emacs-cbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084.zip | |
Fix fill-paragraph in python docstrings (Bug#36056)
* lisp/progmodes/python.el (python-do-auto-fill): New function.
(python-mode): Set it as normal-auto-fill-function, and don't set
fill-indent-according-to-mode. Having the latter set during
fill-paragraph gives wrongs result, because python-indent-line doesn't
remove indentation added by filling.
* test/lisp/progmodes/python-tests.el (python-fill-docstring): New
test.
Diffstat (limited to 'src/coding.h')
0 files changed, 0 insertions, 0 deletions