diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-02-12 22:32:39 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-02-12 22:32:39 +0000 |
commit | 667a2fd28c5ccf71f5c23ebbdcfebc2b3d59cc4d (patch) | |
tree | c2d483765465c7a994e87f9c44881818e20f78f9 /src/term.c | |
parent | 08f49478550baf7329bc71b5ad6e02845b8c5a0d (diff) | |
download | emacs-667a2fd28c5ccf71f5c23ebbdcfebc2b3d59cc4d.tar.gz |
(term_init): If no `se', use `me';
if no `me' either, don't use standout mode at all.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c index 50651a64c78..fc3d0c7d913 100644 --- a/src/term.c +++ b/src/term.c @@ -1506,6 +1506,17 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", 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; |