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:
parent
52d8e4ff0e
commit
76648534c5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user