]> git.neil.brown.name Git - edlib.git/commit
Change rules for mark passed to doc:content
authorNeilBrown <neil@brown.name>
Sun, 4 Jun 2023 02:34:59 +0000 (12:34 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 05:40:21 +0000 (15:40 +1000)
commit7bee867fe824ecd73bb7fdbcd491be0748b4f081
treec38a28ad0be926ede833c02316043ede72e39e39
parent026c22deadce0fd9563a5b2a5dc2ea5aa7250fd3
Change rules for mark passed to doc:content

The 'start' mark passed to doc:content must not now be changed.
Some handlers did change it, others didn't.
Several callers didn't want it changed (so passed dup), a few didn't
care.

Due to the extra chars that can be passed, it might be awkward to return
a precise mark, and the caller might not care.
So leave it up to the callback to report any marks needed, and always
dup the mark before moving it.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
core-doc.c
doc-multipart.c
emacs-search.c
lib-crop.c
lib-linecount.c
lib-search.c
python/lib-diff.py
python/render-calc.py
render-format.c