summaryrefslogtreecommitdiff
path: root/doc/lispref/windows.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-06-18 12:14:26 -0700
committerGlenn Morris <rgm@gnu.org>2018-06-18 12:14:26 -0700
commit988b53ed2d3287f7ee9cfa4225765a97a245c133 (patch)
treedca2fd0df6dea6b5400ea099facc1298ba1eba64 /doc/lispref/windows.texi
parent2f477cbe7f7754c08e00b2b8bdceb2bc1a836db3 (diff)
parentebe065fddf76fde64a9c07b419b67fe47fb6c1cb (diff)
downloademacs-988b53ed2d3287f7ee9cfa4225765a97a245c133.tar.gz
Merge from origin/emacs-26
ebe065f Prevent errant scroll on mouse click (Bug#31546) ffd2018 Minor documentation fix cf4dc95 * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug...
Diffstat (limited to 'doc/lispref/windows.texi')
-rw-r--r--doc/lispref/windows.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 315ffd4f484..54977595956 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -3730,6 +3730,7 @@ argument @var{window}, then returns its result.
@end defun
@cindex window end position
+@cindex last visible position in a window
@defun window-end &optional window update
This function returns the position where display of its buffer ends in
@var{window}. The default for @var{window} is the selected window.
@@ -3752,7 +3753,8 @@ Even if @var{update} is non-@code{nil}, @code{window-end} does not
attempt to scroll the display if point has moved off the screen, the
way real redisplay would do. It does not alter the
@code{window-start} value. In effect, it reports where the displayed
-text will end if scrolling is not required.
+text will end if scrolling is not required. Note that the position it
+returns might be only partially visible.
@end defun
@vindex window-group-end-function