changeset 99211:9ddf901895dd

(syms_of_xdisp): Mention set-window-buffer in doc-string of window-scroll-functions.
author Martin Rudalics <rudalics@gmx.at>
date Wed, 29 Oct 2008 10:57:20 +0000
parents ce3730476c2a
children e1e4b3ffe13b
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Oct 29 10:56:28 2008 +0000
+++ b/src/xdisp.c	Wed Oct 29 10:57:20 2008 +0000
@@ -25059,9 +25059,10 @@
 
   DEFVAR_LISP ("window-scroll-functions", &Vwindow_scroll_functions,
     doc: /* List of functions to call before redisplaying a window with scrolling.
-Each function is called with two arguments, the window
-and its new display-start position.  Note that the value of `window-end'
-is not valid when these functions are called.  */);
+Each function is called with two arguments, the window and its new
+display-start position.  Note that these functions are also called by
+`set-window-buffer'.  Also note that the value of `window-end' is not
+valid when these functions are called.  */);
   Vwindow_scroll_functions = Qnil;
 
   DEFVAR_LISP ("window-text-change-functions",