aboutsummaryrefslogtreecommitdiffstats
path: root/test/src/buffer-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii2026-02-14 11:37:52 +0200
committerEli Zaretskii2026-02-14 11:37:52 +0200
commit6aefaca819a5f89fd29bd53835d1a1fa9fd595cf (patch)
tree46cf07c78de185fb32dd5a160301d5a3c3d215d7 /test/src/buffer-tests.el
parent187867f0a99e72737c5efb4409e5372616a80a73 (diff)
downloademacs-6aefaca819a5f89fd29bd53835d1a1fa9fd595cf.tar.gz
emacs-6aefaca819a5f89fd29bd53835d1a1fa9fd595cf.zip
Adjust documentation to changes in 'overlays-in' and 'overlays-at'
* src/buffer.c (overlays_in): Fix commentary to match the code. (Foverlays_in, Foverlays_at): Doc fixes. (Bug#80242) * test/src/buffer-tests.el (test-overlays-at-2): Add one test. * doc/lispref/display.texi (Finding Overlays): Update and improve the documentation of 'overlays-in' and 'overlays-at'. * etc/NEWS: Announce the changes.
Diffstat (limited to 'test/src/buffer-tests.el')
-rw-r--r--test/src/buffer-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/buffer-tests.el b/test/src/buffer-tests.el
index f4654e90bce..3fae18011fb 100644
--- a/test/src/buffer-tests.el
+++ b/test/src/buffer-tests.el
@@ -905,6 +905,7 @@ should evaporate overlays in both."
905 (should-length 1 (overlays-at 10)) 905 (should-length 1 (overlays-at 10))
906 (should-length 1 (overlays-at 20)) 906 (should-length 1 (overlays-at 20))
907 (should-length 0 (overlays-at (point-max))) 907 (should-length 0 (overlays-at (point-max)))
908 (should-length 1 (overlays-at (1- (point-max))))
908 (narrow-to-region 10 20) 909 (narrow-to-region 10 20)
909 (should-length 1 (overlays-at (point-min))) 910 (should-length 1 (overlays-at (point-min)))
910 (should-length 1 (overlays-at 15)) 911 (should-length 1 (overlays-at 15))