From c32d6b21b81bed54d9738816c9164157ab6165c3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 7 Aug 2020 14:03:24 +0300 Subject: [PATCH] Fix documentation of 'missing-newline-at-eof' * doc/emacs/display.texi (Useless Whitespace): * etc/NEWS (missing-newline-at-eof): Improve wording and punctuation. --- doc/emacs/display.texi | 2 +- etc/NEWS | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 5778d95b4d4..75ef520d62a 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -1335,7 +1335,7 @@ customize the variable @code{whitespace-line-column}. Highlight newlines. @item missing-newline-at-eof -Highlight the final character in a buffer unless it's a newline +Highlight the final character if the buffer doesn't end with a newline character. @item empty diff --git a/etc/NEWS b/etc/NEWS index 002a078f840..7429d392e47 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -459,10 +459,10 @@ The new default value is 2000000 (2 megabytes). ** Whitespace mode +++ -*** A new style has been added: 'missing-newline-at-eof' -If present in 'whitespace-style' (and it is now by default), the final -character in the buffer will be highlighted unless it's a newline -character. +*** New style 'missing-newline-at-eof'. +If present in 'whitespace-style' (as it is by default), the final +character in the buffer will be highlighted if the buffer doesn't end +with a newline. ** Texinfo -- 2.39.2