Mercurial > emacs
changeset 5933:560cee2048ed
(term_init): If no `se', use `me';
if no `me' either, don't use standout mode at all.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 Feb 1994 22:32:39 +0000 |
parents | 86efd91bb72c |
children | 9699f3d409e5 |
files | src/term.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Sat Feb 12 20:14:29 1994 +0000 +++ b/src/term.c Sat Feb 12 22:32:39 1994 +0000 @@ -1506,6 +1506,17 @@ TS_standout_mode = tgetstr ("us", address); } + /* If no `se' string, try using a `me' string instead. + If that fails, we can't use standout mode at all. */ + if (TS_end_standout_mode == 0) + { + char *s = tgetstr ("me"); + if (s != 0) + TS_end_standout_mode = s; + else + TS_standout_mode = 0; + } + if (TF_teleray) { Wcm.cm_tab = 0;