]> git.eshelyaron.com Git - emacs.git/commit
Make paragraph/filling functions in texinfo-mode work better
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 22:47:47 +0000 (23:47 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 22:47:47 +0000 (23:47 +0100)
commitdde591571abfb92864609921ce7f5838c9d41785
tree561628119d7de69177af511f1fc5dbb212dd2db2
parent67276f3403588718a11441ef5a43989b3f3d1cb7
Make paragraph/filling functions in texinfo-mode work better

* lisp/textmodes/texinfo.el (texinfo-mode): Make paragraph
definitions more traditional.  This makes (forward-paragraph 1)
behave better.
(texinfo-mode): Set a new filling function.
(texinfo--fill-paragraph): New filling function.
(texinfo-fillable-commands): New variable (bug#49558).
lisp/textmodes/texinfo.el
test/lisp/textmodes/texinfo-resources/fill.erts [new file with mode: 0644]
test/lisp/textmodes/texinfo-tests.el [new file with mode: 0644]