Mercurial > emacs
comparison src/xdisp.c @ 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 | 621a575db6f7 |
children | 4c8fdbefbb58 |
comparison
equal
deleted
inserted
replaced
14132:85063feb159b | 14133:7167b8612c52 |
---|---|
2738 Lisp_Object args[3]; | 2738 Lisp_Object args[3]; |
2739 | 2739 |
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 | |
2744 /* Since we are *trying* to run these functions, | |
2745 don't try to run them again, even if they get an error. */ | |
2746 w->redisplay_end_trigger = Qnil; | |
2743 Frun_hook_with_args (3, args); | 2747 Frun_hook_with_args (3, args); |
2744 | 2748 |
2745 w->redisplay_end_trigger = Qnil; | |
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; |
2749 } | 2752 } |
2750 | 2753 |