aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-07-15 11:22:52 +0200
committerLars Ingebrigtsen2021-07-15 11:22:52 +0200
commit0848af9f6633fa997fd6390aee62e64cb226b06e (patch)
treeb137c74bc1c512282328016187fe88fb60399d16 /src
parent4aac8f60e688076980d2103d275a78609c03be16 (diff)
downloademacs-0848af9f6633fa997fd6390aee62e64cb226b06e.tar.gz
emacs-0848af9f6633fa997fd6390aee62e64cb226b06e.zip
Improve the `window-end' doc string
* src/window.c (Fwindow_end): Be more explicit about what the position is (bug#13429).
Diffstat (limited to 'src')
-rw-r--r--src/window.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/window.c b/src/window.c
index db324effcce..a6e8ee0d534 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1723,14 +1723,16 @@ have been if redisplay had finished, do this:
1723 1723
1724DEFUN ("window-end", Fwindow_end, Swindow_end, 0, 2, 0, 1724DEFUN ("window-end", Fwindow_end, Swindow_end, 0, 2, 0,
1725 doc: /* Return position at which display currently ends in WINDOW. 1725 doc: /* Return position at which display currently ends in WINDOW.
1726WINDOW must be a live window and defaults to the selected one. 1726This is the position after the final character in WINDOW.
1727This is updated by redisplay, when it runs to completion. 1727
1728Simply changing the buffer text or setting `window-start' 1728WINDOW must be a live window and defaults to the selected one. This
1729does not update this value. 1729is updated by redisplay, when it runs to completion. Simply changing
1730the buffer text or setting `window-start' does not update this value.
1731
1730Return nil if there is no recorded value. (This can happen if the 1732Return nil if there is no recorded value. (This can happen if the
1731last redisplay of WINDOW was preempted, and did not finish.) 1733last redisplay of WINDOW was preempted, and did not finish.) If
1732If UPDATE is non-nil, compute the up-to-date position 1734UPDATE is non-nil, compute the up-to-date position if it isn't already
1733if it isn't already recorded. */) 1735recorded. */)
1734 (Lisp_Object window, Lisp_Object update) 1736 (Lisp_Object window, Lisp_Object update)
1735{ 1737{
1736 Lisp_Object value; 1738 Lisp_Object value;