# HG changeset patch # User Richard M. Stallman # Date 816711679 0 # Node ID 3daf8244546e54bc734510976e9cb3f77e2ae971 # Parent 8ee401a7aeece69b6b8d3d270b5c08353a8ef9b5 (Qredisplay_end_trigger_functions): Renamed from ..._hook. (syms_of_xdisp): Set up new name. (display_text_line): Call them with arguments. diff -r 8ee401a7aeec -r 3daf8244546e src/xdisp.c --- a/src/xdisp.c Sat Nov 18 16:00:22 1995 +0000 +++ b/src/xdisp.c Sat Nov 18 16:21:19 1995 +0000 @@ -50,7 +50,7 @@ Lisp_Object Qoverriding_local_map, Qoverriding_terminal_local_map; Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions; -Lisp_Object Qredisplay_end_trigger_hook; +Lisp_Object Qredisplay_end_trigger_functions; /* Nonzero means print newline to stdout before next minibuffer message. */ @@ -2725,7 +2725,13 @@ run the hook. */ if (pos >= e_t_h && e_t_h != ZV) { - Frun_hooks (1, &Qredisplay_end_trigger_hook); + Lisp_Object args[3]; + + args[0] = Qredisplay_end_trigger_functions; + XSETWINDOW (args[1], w); + XSETINT (args[2], e_t_h); + Frun_hook_with_args (3, args); + w->redisplay_end_trigger = Qnil; e_t_h = ZV; /* Notice if it changed the face of this character. */ @@ -4257,8 +4263,8 @@ staticpro (&Qwindow_scroll_functions); Qwindow_scroll_functions = intern ("window-scroll-functions"); - staticpro (&Qredisplay_end_trigger_hook); - Qredisplay_end_trigger_hook = intern ("redisplay-end-trigger-hook"); + staticpro (&Qredisplay_end_trigger_functions); + Qredisplay_end_trigger_functions = intern ("redisplay-end-trigger-functions"); staticpro (&last_arrow_position); staticpro (&last_arrow_string);