1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

(IT_set_face): Obey inverse_video.

This commit is contained in:
Eli Zaretskii 2000-12-18 13:27:18 +00:00
parent 52d8e4ff0e
commit 76648534c5

View File

@ -918,6 +918,14 @@ IT_set_face (int face)
fg = bg;
bg = tem;
}
/* If the user requested inverse video, obey. */
if (inverse_video)
{
unsigned long tem2 = fg;
fg = bg;
bg = tem2;
}
if (termscript)
fprintf (termscript, "<FACE %d%s: %d/%d[FG:%d/BG:%d]>", face,
highlight ? "H" : "", fp->foreground, fp->background, fg, bg);