diff options
| author | Gerd Moellmann | 2000-08-15 15:02:15 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-08-15 15:02:15 +0000 |
| commit | 2535aa8c71c129976e7e3f5ea8ea9b2324d4830f (patch) | |
| tree | 44b0c27950a0ab23633cdcf16a3d2933ab139cbc /src | |
| parent | a339f9097ea91794968279862d05bbd31d0dee33 (diff) | |
| download | emacs-2535aa8c71c129976e7e3f5ea8ea9b2324d4830f.tar.gz emacs-2535aa8c71c129976e7e3f5ea8ea9b2324d4830f.zip | |
(turn_off_face): Reset standout_mode when resetting
apparances with capability `me'.
(write_glyphs): Switch on inverse video before each face change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) | |||
| 1058 | return; | 1058 | return; |
| 1059 | } | 1059 | } |
| 1060 | 1060 | ||
| 1061 | highlight_if_desired (); | ||
| 1062 | turn_off_insert (); | 1061 | turn_off_insert (); |
| 1063 | 1062 | ||
| 1064 | /* Don't dare write in last column of bottom line, if Auto-Wrap, | 1063 | /* Don't dare write in last column of bottom line, if Auto-Wrap, |
| @@ -1088,6 +1087,7 @@ write_glyphs (string, len) | |||
| 1088 | break; | 1087 | break; |
| 1089 | 1088 | ||
| 1090 | /* Turn appearance modes of the face of the run on. */ | 1089 | /* Turn appearance modes of the face of the run on. */ |
| 1090 | highlight_if_desired (); | ||
| 1091 | turn_on_face (f, face_id); | 1091 | turn_on_face (f, face_id); |
| 1092 | 1092 | ||
| 1093 | while (n > 0) | 1093 | while (n > 0) |
| @@ -2082,6 +2082,9 @@ turn_off_face (f, face_id) | |||
| 2082 | 2082 | ||
| 2083 | if (face->tty_alt_charset_p) | 2083 | if (face->tty_alt_charset_p) |
| 2084 | OUTPUT_IF (TS_exit_alt_charset_mode); | 2084 | OUTPUT_IF (TS_exit_alt_charset_mode); |
| 2085 | |||
| 2086 | if (standout_mode) | ||
| 2087 | standout_mode = 0; | ||
| 2085 | } | 2088 | } |
| 2086 | else | 2089 | else |
| 2087 | { | 2090 | { |