From: Gerd Moellmann Date: Tue, 15 Aug 2000 15:02:15 +0000 (+0000) Subject: (turn_off_face): Reset standout_mode when resetting X-Git-Tag: emacs-pretest-21.0.90~2292 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2535aa8c71c129976e7e3f5ea8ea9b2324d4830f;p=emacs.git (turn_off_face): Reset standout_mode when resetting apparances with capability `me'. (write_glyphs): Switch on inverse video before each face change. --- diff --git a/src/term.c b/src/term.c index 5c439b34c9e..11bbd8a11ec 100644 --- a/src/term.c +++ b/src/term.c @@ -1058,7 +1058,6 @@ write_glyphs (string, len) return; } - highlight_if_desired (); turn_off_insert (); /* Don't dare write in last column of bottom line, if Auto-Wrap, @@ -1088,6 +1087,7 @@ write_glyphs (string, len) break; /* Turn appearance modes of the face of the run on. */ + highlight_if_desired (); turn_on_face (f, face_id); while (n > 0) @@ -2082,6 +2082,9 @@ turn_off_face (f, face_id) if (face->tty_alt_charset_p) OUTPUT_IF (TS_exit_alt_charset_mode); + + if (standout_mode) + standout_mode = 0; } else {