diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 15:40:43 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-16 15:40:43 +0200 |
commit | 5d7b1d5fc75752a986ed19d3fd333167ddc29d4e (patch) | |
tree | 2958f419b095ee6e5f7eada504dfcaf40e5d10a8 /doc | |
parent | a3b31302dd1b7c1ffd3486b35de06c957785b919 (diff) | |
download | emacs-5d7b1d5fc75752a986ed19d3fd333167ddc29d4e.tar.gz |
Make overlays-in treat zero-length overlays at point-max consistently
* doc/lispref/display.texi (Finding Overlays): Adjust documentation.
* src/buffer.c (overlays_in): Treat the end of the buffer and the
end of the narrowed-to buffer the same (bug#19422).
(Foverlays_in): Adjust doc string.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/display.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 13d0a1b458d..79fb72a464d 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -1917,7 +1917,8 @@ This function returns a list of the overlays that overlap the region contains one or more characters in the region; empty overlays (@pxref{Managing Overlays, empty overlay}) overlap if they are at @var{beg}, strictly between @var{beg} and @var{end}, or at @var{end} -when @var{end} denotes the position at the end of the buffer. +when @var{end} denotes the position at the end of the accessible part +of the buffer. @end defun @defun next-overlay-change pos |