1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 17:10:51 -08:00

Merge remote-tracking branch 'origin/emacs-30'

This commit is contained in:
Stefan Monnier 2025-02-05 20:21:03 -05:00
commit 1f4a26df86
8 changed files with 25 additions and 11 deletions

View file

@ -372,7 +372,9 @@ and re-enable the TRACKER corresponding to ID."
track-changes--state))
;; Nothing to do.
nil)
(cl-assert (not (memq id track-changes--clean-trackers)))
;; ID may still be in `track-changes--clean-trackers' if
;; `after-change-functions' was skipped.
;;(cl-assert (not (memq id track-changes--clean-trackers)))
(cl-assert (<= (point-min) beg end (point-max)))
;; Update the tracker's state *before* running `func' so we don't risk
;; mistakenly replaying the changes in case `func' exits non-locally.