]> git.eshelyaron.com Git - emacs.git/commit
Flow fill texts after the last hard newline
authorPengji Zhang <me@pengjiz.com>
Wed, 28 Aug 2024 10:57:35 +0000 (18:57 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 14 Oct 2024 17:39:51 +0000 (19:39 +0200)
commitb1fd1045822ae4ffb245c3cfadfaa9f4bdfc67ae
tree6f2766c73d6178b11a2f44d90e034e20258a490b
parent34c69ae444b639ced7a9b6d7628635071b478bec
Flow fill texts after the last hard newline

* lisp/mail/flow-fill.el (fill-flowed-encode): Use `(point-max)'
as `end' if there are no remaining hard newlines in buffer.
This ensures that the last paragraph will always be encoded,
even without a trailing hard newline.  (Bug#72870)

(cherry picked from commit fc214b668391abed313920cd44f3d913c8207e0e)
lisp/mail/flow-fill.el