aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-07-20 13:32:39 +0200
committerLars Ingebrigtsen2021-07-20 13:32:39 +0200
commit06ee8ac36c9590ed028a3633a21a655104f772c8 (patch)
tree46a4644da87f73602482a21c4347f30783b7ad98 /src/buffer.c
parent6ebe8b03d80038d0c79ee0119efcd8272bb6a551 (diff)
downloademacs-06ee8ac36c9590ed028a3633a21a655104f772c8.tar.gz
emacs-06ee8ac36c9590ed028a3633a21a655104f772c8.zip
Mention `overlays-in' in the `overlays-at' doc string
* src/buffer.c (Foverlays_at): Mention `overlays-in' in the doc string (bug#459).
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d3a5ffd1491..335523de604 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4222,7 +4222,11 @@ OVERLAY. */)
4222 4222
4223DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 2, 0, 4223DEFUN ("overlays-at", Foverlays_at, Soverlays_at, 1, 2, 0,
4224 doc: /* Return a list of the overlays that contain the character at POS. 4224 doc: /* Return a list of the overlays that contain the character at POS.
4225If SORTED is non-nil, then sort them by decreasing priority. */) 4225If SORTED is non-nil, then sort them by decreasing priority.
4226
4227Zero-length overlays that start and stop at POS are not included in
4228the return value. Instead use `overlays-in' if those overlays are of
4229interest. */)
4226 (Lisp_Object pos, Lisp_Object sorted) 4230 (Lisp_Object pos, Lisp_Object sorted)
4227{ 4231{
4228 ptrdiff_t len, noverlays; 4232 ptrdiff_t len, noverlays;