From 9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 9 Jan 1996 23:46:53 +0000 Subject: [PATCH] (display_text_line): Clear out redisplay_end_trigger before calling the functions. --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 5427214ff1..655d1d90c0 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; -- 2.39.2