diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-04 14:33:00 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-11-04 14:33:00 -0800 |
commit | 06b63c9b0c6fd87e699ba6ba3be959bfd150ef8a (patch) | |
tree | c1182e76215f9f7f593461b7d1f47c8dd12909f3 /src/systty.h | |
parent | 76abf5e5a55899a0b3f8851fce7406858978e9a6 (diff) | |
download | emacs-06b63c9b0c6fd87e699ba6ba3be959bfd150ef8a.tar.gz |
Remove EMACS_OUTQSIZE+sleep hack.
* dispnew.c (update_frame_1): Remove hack for terminals slower
than 2400 bps, which throttled Emacs by having it sleep. This
code hasn't worked since at least 2007, when the multi-tty stuff
was added, and anyway those old terminals are long dead.
* systty.h (EMACS_OUTQSIZE): Remove; unused. The macro isn't used even
without the dispnew.c change, as dispnew.c doesn't include systty.h.
Diffstat (limited to 'src/systty.h')
-rw-r--r-- | src/systty.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/systty.h b/src/systty.h index b7f36c6c259..0611511d901 100644 --- a/src/systty.h +++ b/src/systty.h @@ -52,17 +52,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #endif /* not CDEL */ #endif /* not _POSIX_VDISABLE */ -/* Get the number of characters queued for output. */ - -/* EMACS_OUTQSIZE(FD, int *SIZE) stores the number of characters - queued for output to the terminal FD in *SIZE, if FD is a tty. - Returns -1 if there was an error (i.e. FD is not a tty), 0 - otherwise. */ -#ifdef TIOCOUTQ -#define EMACS_OUTQSIZE(fd, size) (ioctl ((fd), TIOCOUTQ, (size))) -#endif - - /* Manipulate a terminal's current process group. */ /* EMACS_GETPGRP (arg) returns the process group of the process. */ |