]> git.eshelyaron.com Git - emacs.git/commit
Make whitespace-mode highlight missing newlines at the end of buffers
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 7 Aug 2020 07:28:14 +0000 (09:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 7 Aug 2020 07:28:14 +0000 (09:28 +0200)
commit2a35e54bd5644c52dad99dc2597aff2c4165e1e0
tree5e79f5e97320d7ba9594cb8f8f38763addd2d0c2
parent74606481c2859b843ebf3f744c215447458becc2
Make whitespace-mode highlight missing newlines at the end of buffers

* lisp/whitespace.el (whitespace-missing-newline-at-eof): New face
(bug#34952).
(whitespace-report-region): Add a test for
end-of-buffer-without-newline.
(whitespace-color-on): Ditto.

* doc/emacs/display.texi (Useless Whitespace): Document it.
doc/emacs/display.texi
etc/NEWS
lisp/whitespace.el