emacs-diffs
[Top][All Lists]
Advanced

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

master 8a7db868cc: Add NEWS entry about incompatible sorting command beh


From: Lars Ingebrigtsen
Subject: master 8a7db868cc: Add NEWS entry about incompatible sorting command behaviors
Date: Tue, 3 May 2022 15:30:03 -0400 (EDT)

branch: master
commit 8a7db868cc28f933bc2fb2739d122ed11c9ec872
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add NEWS entry about incompatible sorting command behaviors
---
 etc/NEWS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index b0758b60a0..73e61aab32 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -135,6 +135,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



reply via email to

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