changeset 14133:7167b8612c52

(display_text_line): Clear out redisplay_end_trigger before calling the functions.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 Jan 1996 23:46:53 +0000
parents 85063feb159b
children a1ebbdb060b8
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Tue Jan 09 23:44:41 1996 +0000
+++ b/src/xdisp.c	Tue Jan 09 23:46:53 1996 +0000
@@ -2740,9 +2740,12 @@
 	      args[0] = Qredisplay_end_trigger_functions;
 	      XSETWINDOW (args[1], w);
 	      XSETINT (args[2], e_t_h);
+
+	      /* 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);
 
-	      w->redisplay_end_trigger = Qnil;
 	      e_t_h = ZV;
 	      /* Notice if it changed the face of this character.  */
 	      next_face_change = pos;