diff options
| author | Karl Heuer | 1996-01-09 23:46:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-09 23:46:53 +0000 |
| commit | 9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2 (patch) | |
| tree | 330570755e80258b38aaa875cb85e918b5a59045 /src | |
| parent | f21b7e242cfe7f4fa0aceb031da1c6bebf427abf (diff) | |
| download | emacs-9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2.tar.gz emacs-9c49d3d7bde50037ef843ddc1f39f55c04c4aaf2.zip | |
(display_text_line): Clear out redisplay_end_trigger
before calling the functions.
Diffstat (limited to 'src')
| -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) | |||
| 2740 | args[0] = Qredisplay_end_trigger_functions; | 2740 | args[0] = Qredisplay_end_trigger_functions; |
| 2741 | XSETWINDOW (args[1], w); | 2741 | XSETWINDOW (args[1], w); |
| 2742 | XSETINT (args[2], e_t_h); | 2742 | XSETINT (args[2], e_t_h); |
| 2743 | Frun_hook_with_args (3, args); | ||
| 2744 | 2743 | ||
| 2744 | /* Since we are *trying* to run these functions, | ||
| 2745 | don't try to run them again, even if they get an error. */ | ||
| 2745 | w->redisplay_end_trigger = Qnil; | 2746 | w->redisplay_end_trigger = Qnil; |
| 2747 | Frun_hook_with_args (3, args); | ||
| 2748 | |||
| 2746 | e_t_h = ZV; | 2749 | e_t_h = ZV; |
| 2747 | /* Notice if it changed the face of this character. */ | 2750 | /* Notice if it changed the face of this character. */ |
| 2748 | next_face_change = pos; | 2751 | next_face_change = pos; |