diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-01-09 23:46:53 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-01-09 23:46:53 +0000 |
commit | 9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2 (patch) | |
tree | 330570755e80258b38aaa875cb85e918b5a59045 | |
parent | f21b7e242cfe7f4fa0aceb031da1c6bebf427abf (diff) | |
download | emacs-9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2.tar.gz |
(display_text_line): Clear out redisplay_end_trigger
before calling the functions.
-rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; |