aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-04 18:09:01 +0200
committerEli Zaretskii2017-11-04 18:09:01 +0200
commit369da28702a60543391bf9576eb904d21ca8ea09 (patch)
treeccc60c38f9e46450ebadc2cae3c5b267cdd6ad67 /src
parent93818eed8ab9840095911be7b0ca0f2104320ea0 (diff)
downloademacs-369da28702a60543391bf9576eb904d21ca8ea09.tar.gz
emacs-369da28702a60543391bf9576eb904d21ca8ea09.zip
Improve documentation of 'window-scroll-functions'
* doc/lispref/windows.texi (Window Hooks): Clarify the values of arguments of 'window-scroll-functions' functions. * src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index b8bb6ba8dfc..baf075b1c8e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32569,6 +32569,9 @@ display-start position.
32569These functions are called whenever the `window-start' marker is modified, 32569These functions are called whenever the `window-start' marker is modified,
32570either to point into another buffer (e.g. via `set-window-buffer') or another 32570either to point into another buffer (e.g. via `set-window-buffer') or another
32571place in the same buffer. 32571place in the same buffer.
32572When each function is called, the `window-start' marker of its window
32573argument has been already set to the new value, and the buffer which that
32574window will display is set to be the current buffer.
32572Note that the value of `window-end' is not valid when these functions are 32575Note that the value of `window-end' is not valid when these functions are
32573called. 32576called.
32574 32577