summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/macroexp-tests.el
diff options
context:
space:
mode:
authorMatt Armstrong <matt@rfc20.org>2022-10-22 20:48:10 -0700
committerMatt Armstrong <matt@rfc20.org>2022-10-22 20:58:21 -0700
commitb78be2bf7a9ac8b71d25529d5736373f51852c36 (patch)
tree00a68357d69af31cd25b5a08c2786e313a458919 /test/lisp/emacs-lisp/macroexp-tests.el
parent555bc1f8b3ed8b02fb5acb013ed24073b0666585 (diff)
downloademacs-b78be2bf7a9ac8b71d25529d5736373f51852c36.tar.gz
emacs-b78be2bf7a9ac8b71d25529d5736373f51852c36.tar.bz2
emacs-b78be2bf7a9ac8b71d25529d5736373f51852c36.zip
Fix `get-pos-property' for the new overlay implementation.
Some of the trickier edge cases weren't handled properly. See bug#58706. * src/editfns.c (overlays_around): Extend the search range past POS by one to fetch overlays beginning at POS. Fetch empty overlays, as they may be extended by an insertion and thus be relevant to `get-pos-property'. Make a note that the function now, unfortunately, may return out of range overlays. (Fget_pos_property): Deal with 'overlays_around' returning out of range overlays.
Diffstat (limited to 'test/lisp/emacs-lisp/macroexp-tests.el')
0 files changed, 0 insertions, 0 deletions