Mercurial > emacs
diff src/term.c @ 11530:a265aaa699e0
(term_init): MagicWrap implies AutoWrap.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 24 Apr 1995 17:17:15 +0000 |
parents | e6bdaaa6ce1b |
children | f85f23c50344 |
line wrap: on
line diff
--- a/src/term.c Mon Apr 24 16:55:29 1995 +0000 +++ b/src/term.c Mon Apr 24 17:17:15 1995 +0000 @@ -1533,7 +1533,10 @@ 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 @@ 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");