diff options
| author | Michal Nazarewicz | 2016-06-21 16:52:52 +0200 |
|---|---|---|
| committer | Michal Nazarewicz | 2016-07-04 23:44:06 +0200 |
| commit | dc294483af221066724f1007a595016b47fb5814 (patch) | |
| tree | e81eb0d46998ec2d634de6d6df64c346ca63fb0b /etc | |
| parent | e3ae3c44882085bf52f6bb8b02e98eb7d0b1f81b (diff) | |
| download | emacs-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -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. | ||
| 191 | In modes where form feed was treated as a whitespace character, | ||
| 192 | 'delete-trailing-whitespace' would keep lines containing it unchanged. | ||
| 193 | It now deletes whitespace after the last form feed thus behaving the | ||
| 194 | same 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 | ||