summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-09 23:46:53 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-09 23:46:53 +0000
commit9f70c104485fb136f3e0f19b93c4dbf06102f971 (patch)
treeddc150dbd576884540fed01d02822d851c0fed0a
parent2fe377d1f2140a4ebf54e22204626a1adc8db119 (diff)
downloademacs-9f70c104485fb136f3e0f19b93c4dbf06102f971.tar.gz
(display_text_line): Clear out redisplay_end_trigger
before calling the functions.
-rw-r--r--src/xdisp.c5
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;