Fix crashes in redisplay functions on suspended tty frames. (Reported by Dan Nicolae...
commit4a6657585e59c464789c2039241b0c3a74d16199
authorKaroly Lorentey <lorentey@elte.hu>
Sat, 20 May 2006 12:00:16 +0000 (20 12:00 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Sat, 20 May 2006 12:00:16 +0000 (20 12:00 +0000)
treec5e066d5309b41b41193edae5d40fda43dc4a33e
parentca7007a3cc366a60333a50a79119143167a916e6
Fix crashes in redisplay functions on suspended tty frames.  (Reported by Dan Nicolaescu.)

* src/term.c (Fsuspend_tty): Call clear_tty_hooks.
(Fresume_tty, init_tty): Call set_tty_hooks.
(clear_tty_hooks, set_tty_hooks): New functions.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-561
src/term.c