So I opened a c++ script made in Xubuntu and every tab character was highlighted with grey.
That doesn't happen when I open scripts made on Windows. How do I stop Emacs from highlighting them, it's very distracting?
Here is a picture of what it looks like:
1 Answer
You have whitespace-mode
turned on. Turn it off.
whitespace-mode
, which is highlighting the Tab chars. Check the mode you're using for the buffers in GNU/Linux vs Microsoft Windows. Sounds like one of them turns onwhitespace-mode
and the other doesn't. Just a guess.C-u C-x =
. The*Help*
will tell you what faces are used to highlight them. Work from that info to find out what code (maybewhitespace-mode
) is doing the highlighting.