]> git.eshelyaron.com Git - emacs.git/commit
Make whitespace.el's cleanup add missing final newline
authorBjörn Lindström <bkhl@elektrubadur.se>
Tue, 11 Jun 2024 17:49:55 +0000 (19:49 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 1 Jul 2024 07:43:36 +0000 (09:43 +0200)
commit605f49a2b028533d664983fbd8291143a4ee25ff
treec513de5f0e8019e2078eea70b72dec434e7dd004
parentf05da1bd2791e7309abc5dd62e4bfb1dcd0b048b
Make whitespace.el's cleanup add missing final newline

* lisp/whitespace.el (whitespace-cleanup-region): If cleaning
up at end of file, add missing newline if indicated by
'whitespace-style'.  (Bug#71499)

* etc/NEWS: Announce the change in behavior.

(cherry picked from commit 2a7a7c6f697ac9699dec8b09f1cd2051247b2b45)
etc/NEWS
lisp/whitespace.el
test/lisp/whitespace-tests.el