Fix order of sorted overlays returned by 'overlays-at'
commit2d53f8783ff8e48d91809741adab6a2402587fad
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Sep 2017 10:02:31 +0000 (16 13:02 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Sep 2017 10:02:31 +0000 (16 13:02 +0300)
treec1c1ddb669858bba255fdf2333acf1b52580f3d6
parenta103dbe36022cd2454eaeed96def1c777c049762
Fix order of sorted overlays returned by 'overlays-at'

* src/buffer.c (Foverlays_at): If SORTED is non-nil, reverse the
list of results, to have their order as per the documentation.
(Bug#28390)

* etc/NEWS: Mention the change in the behavior of overlays-at.
etc/NEWS
src/buffer.c