summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-09-08 10:42:19 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-09-12 20:25:30 -0400
commitcbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084 (patch)
treed03bb7aa2be38b6bb94936bc4fd51304f879d5c4 /lisp/emacs-lisp/bytecomp.el
parent421084d2cb160261b259bddb687bb2c234f8f1ef (diff)
downloademacs-cbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084.tar.gz
emacs-cbb8a8ad979ed7975bfc7e9fa6aeeb4d9d6b7084.tar.bz2
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 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions