summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-03 21:29:47 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-03 21:29:47 +0200
commit8a7db868cc28f933bc2fb2739d122ed11c9ec872 (patch)
tree56516a196f578513389771443417a8828e8f205a
parent5206596ea7b26e2e9705e4c94184f6d22687c385 (diff)
downloademacs-8a7db868cc28f933bc2fb2739d122ed11c9ec872.tar.gz
Add NEWS entry about incompatible sorting command behaviors
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b0758b60a09..73e61aab327 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -136,6 +136,14 @@ of 'user-emacs-directory'.
* Incompatible changes in Emacs 29.1
---
+** Sorting commands no longer necessarily change modification status.
+In earlier Emacs versions, commands like 'M-x sort-lines' would always
+change buffer modification status to "modified", whether they changed
+something in the buffer or not. This has been changed: The buffer is
+marked as modified only if the sorting ended up changing the contents
+of the buffer.
+
+---
** 'string-lines' handles trailing newlines differently.
It no longer returns an empty final string if the string ends with a
newline.