emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c32d6b2: Fix documentation of 'missing-newline-at-eof'


From: Eli Zaretskii
Subject: master c32d6b2: Fix documentation of 'missing-newline-at-eof'
Date: Fri, 7 Aug 2020 07:04:28 -0400 (EDT)

branch: master
commit c32d6b21b81bed54d9738816c9164157ab6165c3
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 5778d95..75ef520 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 002a078..7429d39 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]