Mercurial > emacs
diff src/termcap.c @ 12907:6cae53a06172
default to user-supplied buffer.
| author | David J. MacKenzie <djm@gnu.org> |
|---|---|
| date | Mon, 21 Aug 1995 04:33:21 +0000 |
| parents | a14b26e55f25 |
| children | bd38619285f7 |
line wrap: on
line diff
--- a/src/termcap.c Mon Aug 21 01:15:25 1995 +0000 +++ b/src/termcap.c Mon Aug 21 04:33:21 1995 +0000 @@ -443,6 +443,11 @@ } #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;
