diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-24 17:17:15 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-24 17:17:15 +0000 |
commit | 8c968e34e56927d23989101dcb48bdd01f30ad0e (patch) | |
tree | 2f43ac0013d031f350189a92a209bf7e62cdb578 /src/term.c | |
parent | fcbca24d3eadfc5c4db061a13be944c20a75d861 (diff) | |
download | emacs-8c968e34e56927d23989101dcb48bdd01f30ad0e.tar.gz |
(term_init): MagicWrap implies AutoWrap.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index b97205bf8f0..6de8227bd22 100644 --- a/src/term.c +++ b/src/term.c @@ -1533,7 +1533,10 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", MultiLeft = tgetstr ("LE", address); MultiRight = tgetstr ("RI", address); - AutoWrap = tgetflag ("am"); + MagicWrap = tgetflag ("xn"); + /* Since we make MagicWrap terminals look like AutoWrap, we need to have + the former flag imply the latter. */ + AutoWrap = MagicWrap || tgetflag ("am"); memory_below_frame = tgetflag ("db"); TF_hazeltine = tgetflag ("hz"); must_write_spaces = tgetflag ("in"); @@ -1541,7 +1544,6 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n", TF_insmode_motion = tgetflag ("mi"); TF_standout_motion = tgetflag ("ms"); TF_underscore = tgetflag ("ul"); - MagicWrap = tgetflag ("xn"); TF_xs = tgetflag ("xs"); TF_teleray = tgetflag ("xt"); |