# HG changeset patch # User Martin Rudalics # Date 1225277840 0 # Node ID 9ddf901895dd2a14034c2f8bd97f5e1fca4ced76 # Parent ce3730476c2a3963a3d31fd62ed8aa0997a12afb (syms_of_xdisp): Mention set-window-buffer in doc-string of window-scroll-functions. diff -r ce3730476c2a -r 9ddf901895dd src/xdisp.c --- 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",