]> git.eshelyaron.com Git - emacs.git/commit
(decode_coding): Avoid nested *-change-functions (bug#78042)
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 2 May 2025 20:59:17 +0000 (16:59 -0400)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:56:57 +0000 (08:56 +0200)
commit83a2e0cedad7cfad307e1db58e1b1606154c4635
tree5bb087dfa910f8351c2eda6724542486f02a7cf3
parent89f86f7e74822de4f476f270b8324288a428bfc5
(decode_coding): Avoid nested *-change-functions (bug#78042)

* src/coding.c (decode_coding): Avoid nested *-change-functions (bug#78042).

* test/src/editfns-tests.el (sanity-check-change-functions-before)
(sanity-check-change-functions-after): Record notifications in
`sanity-check-change-functions-op`.
(sanity-check-change-functions-with-op): Don't rely on
`sanity-check-change-functions-op` always holding only the `op`.
(sanity-check-change-functions-errors): Include the sequence of
notifications in the error info.
(editfns-tests--before/after-change-functions): Add tests for (bug#78042).

(cherry picked from commit 9048fcf22c3ec3b5cc77dbb98993a53f5f9b7cd5)
src/coding.c
test/src/editfns-tests.el