diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2003-12-29 08:28:35 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2003-12-29 08:28:35 +0000 |
commit | b2af72d2f0da11c271cac6fc823053d0018068b2 (patch) | |
tree | 3eb8facc529c3360f7c85416cc93249fb9b6a337 /src/cm.c | |
parent | 9f729af551e991e5f6d49f329674f6802450d70f (diff) | |
download | emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.tar.gz emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.tar.bz2 emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.zip |
Make sure secondary frames are deleted when emacsclient quits.
lisp/server.el (server-sentinel): Delete frame if alive. Fix delq
invocation on server-frames.
(server-process-filter, server-buffer-done): Fix delq invocation on
server-frames.
src/cm.c (cmputc): Abort on write error, see what happens.
src/keyboard.c (read_avail_input): Do delete_tty on read errors.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-21
Diffstat (limited to 'src/cm.c')
-rw-r--r-- | src/cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -70,7 +70,8 @@ cmputc (c) { if (TTY_TERMSCRIPT (current_tty)) putc (c & 0177, TTY_TERMSCRIPT (current_tty)); - putc (c & 0177, TTY_OUTPUT (current_tty)); + if (putc (c & 0177, TTY_OUTPUT (current_tty)) == EOF) + abort (); /* XXX For testing only! */ return c; } |