]> code.delx.au - gnu-emacs/commitdiff
(display_text_line): Clear out redisplay_end_trigger
authorKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:46:53 +0000 (23:46 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:46:53 +0000 (23:46 +0000)
before calling the functions.

src/xdisp.c

index 5427214ff16f663ac3216f533645de1d818a806d..655d1d90c06afe323fe7f3ad53cac9204cb43b0b 100644 (file)
@@ -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;