Subject: Re: bug#4597: Antwort: Re: bug#4587: 23.1; sort-lines and sort-fields always set buffer modified

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 03 May 2022 21:24:09 +0200

[email-masked] writes:

> M-x sort-lines and M-x sort-fields always set the buffer modified 
> status ("-" -> "*" in column 5 of the status line), even if the region 
> was sorted and the command did not modify anything. 
> An unmodified buffer should stay unmodified if nothing was changed. 

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no