diff options
author | David J. MacKenzie <djm@gnu.org> | 1995-08-21 04:33:21 +0000 |
---|---|---|
committer | David J. MacKenzie <djm@gnu.org> | 1995-08-21 04:33:21 +0000 |
commit | 3e19e687d2062c4701407bad6e713b0042ddc93c (patch) | |
tree | 686eb859cb97bae477191489cc0ae0f6da68dbf9 /src/termcap.c | |
parent | 856321e221094e93285cd3e03b6699e1152793de (diff) | |
download | emacs-3e19e687d2062c4701407bad6e713b0042ddc93c.tar.gz |
default to user-supplied buffer.
Diffstat (limited to 'src/termcap.c')
-rw-r--r-- | src/termcap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/termcap.c b/src/termcap.c index d26348e525c..2a270c454eb 100644 --- a/src/termcap.c +++ b/src/termcap.c @@ -443,6 +443,11 @@ tgetent (bp, name) } #endif /* INTERNAL_TERMINAL */ + /* For compatibility with programs like `less' that want to + put data in the termcap buffer themselves as a fallback. */ + if (bp) + term_entry = bp; + termcap_name = getenv ("TERMCAP"); if (termcap_name && *termcap_name == '\0') termcap_name = NULL; |