text: set and reset the Modified state correctly when undoing/redoing
Unset the "Modified" marker only at the point where the file was last saved -- if there is such a point, because it can be missing when the undo stack was discarded. This fixes https://savannah.gnu.org/bugs/?52689 . Reported-by:Liu Hao <lh_mouse@126.com> Original-idea-by:
Brand Huntsman <alpha@qzx.com>
Showing
+20 -11
Please register or sign in to comment