aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichal Nazarewicz2016-06-21 16:52:52 +0200
committerMichal Nazarewicz2016-07-04 23:44:06 +0200
commitdc294483af221066724f1007a595016b47fb5814 (patch)
treee81eb0d46998ec2d634de6d6df64c346ca63fb0b /etc
parente3ae3c44882085bf52f6bb8b02e98eb7d0b1f81b (diff)
downloademacs-dc294483af221066724f1007a595016b47fb5814.tar.gz
emacs-dc294483af221066724f1007a595016b47fb5814.zip
Make ‘delete-trailing-whitespace’ delete spaces after form feed
* lisp/simple.el (delete-trailing-whitespace): Treat form fead as a non-whitespace character (regradless of whether it’s character syntax is whitespace) and delete any whitespace following it instead of leaving lines with form feeds completely unchanged. I.e. a line like "\f " will now became "\f".
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2f2ae65da8d..bc8b097d460 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -187,6 +187,12 @@ questions, with a handy way to display help texts.
187'undo', undo the last replacement; bound to 'u'. 187'undo', undo the last replacement; bound to 'u'.
188'undo-all', undo all replacements; bound to 'U'. 188'undo-all', undo all replacements; bound to 'U'.
189 189
190** 'delete-trailing-whitespace' deletes whitespace after form feed.
191In modes where form feed was treated as a whitespace character,
192'delete-trailing-whitespace' would keep lines containing it unchanged.
193It now deletes whitespace after the last form feed thus behaving the
194same as in modes where the character is not whitespace.
195
190 196
191* Changes in Specialized Modes and Packages in Emacs 25.2 197* Changes in Specialized Modes and Packages in Emacs 25.2
192 198