aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-02-12 22:32:39 +0000
committerRichard M. Stallman1994-02-12 22:32:39 +0000
commitafd359c4bb738e74a9f821f74d4e4aebddf70957 (patch)
tree2ba0c70e96c07b09daa1d2c9583acdfd7c9460c5 /src
parentd9a71a8ffce1052e7de9f5e7251255cf71b2d017 (diff)
downloademacs-afd359c4bb738e74a9f821f74d4e4aebddf70957.tar.gz
emacs-afd359c4bb738e74a9f821f74d4e4aebddf70957.zip
(term_init): If no `se', use `me';
if no `me' either, don't use standout mode at all.
Diffstat (limited to 'src')
-rw-r--r--src/term.c11
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",
1506 TS_standout_mode = tgetstr ("us", address); 1506 TS_standout_mode = tgetstr ("us", address);
1507 } 1507 }
1508 1508
1509 /* If no `se' string, try using a `me' string instead.
1510 If that fails, we can't use standout mode at all. */
1511 if (TS_end_standout_mode == 0)
1512 {
1513 char *s = tgetstr ("me");
1514 if (s != 0)
1515 TS_end_standout_mode = s;
1516 else
1517 TS_standout_mode = 0;
1518 }
1519
1509 if (TF_teleray) 1520 if (TF_teleray)
1510 { 1521 {
1511 Wcm.cm_tab = 0; 1522 Wcm.cm_tab = 0;