aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2017-09-16 13:02:31 +0300
committerEli Zaretskii2017-09-16 13:02:31 +0300
commit2d53f8783ff8e48d91809741adab6a2402587fad (patch)
treec1c1ddb669858bba255fdf2333acf1b52580f3d6 /etc
parenta103dbe36022cd2454eaeed96def1c777c049762 (diff)
downloademacs-2d53f8783ff8e48d91809741adab6a2402587fad.tar.gz
emacs-2d53f8783ff8e48d91809741adab6a2402587fad.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ce828043bb7..a042ce92aff 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1336,6 +1336,14 @@ Affected functions include add-name-to-file, copy-directory,
1336copy-file, format-write-file, gnus-copy-file, make-symbolic-link, 1336copy-file, format-write-file, gnus-copy-file, make-symbolic-link,
1337rename-file, thumbs-rename-images, and write-file. 1337rename-file, thumbs-rename-images, and write-file.
1338 1338
1339---
1340** The list returned by 'overlays-at' is now in decreasing priority order.
1341The documentation of this function always said the order should be
1342that of decreasing priority, if the 2nd argument of the function is
1343non-nil, but the code returned the list in the increasing order of
1344priority instead. Now the code does what the documentation says it
1345should do.
1346
1339 1347
1340* Lisp Changes in Emacs 26.1 1348* Lisp Changes in Emacs 26.1
1341 1349