From: Karl Heuer Date: Tue, 9 Jan 1996 23:46:53 +0000 (+0000) Subject: (display_text_line): Clear out redisplay_end_trigger X-Git-Tag: emacs-19.34~1727 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2;p=emacs.git (display_text_line): Clear out redisplay_end_trigger before calling the functions. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5427214ff16..655d1d90c06 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2740,9 +2740,12 @@ display_text_line (w, start, vpos, hpos, taboffset) args[0] = Qredisplay_end_trigger_functions; XSETWINDOW (args[1], w); XSETINT (args[2], e_t_h); - Frun_hook_with_args (3, args); + /* Since we are *trying* to run these functions, + don't try to run them again, even if they get an error. */ w->redisplay_end_trigger = Qnil; + Frun_hook_with_args (3, args); + e_t_h = ZV; /* Notice if it changed the face of this character. */ next_face_change = pos;