What kind of feature is this and how to disable it?

enter image description here

I've used the wrong shortcut, but I don't remember what I pressed. When I kill the buffer and open the same file again I have those markers. The thing is global because When I reload the other buffer I get the same markers. Is there a way to turn this off, without closing Emacs?

I was searching for different things but all I have is whitespace-mode that I use for different purposes (to highlight trailing whitespace and tabs). I think it's some fundamental function in Emacs, but I don't know how to name it (to find it in docs).

1 Answer 1


I've found it it was M-c M-w I make this accidentally when using M-c w (I use this to toggle indentation modes between 4 and 2 spaced). The key sequence was mapped to web-mode-whitespaces-show. Web-mode is my main mode I use for editing TypeScript files.

  • You might want to mention how you found it, if you think what you did to find it might help others. Thx.
    – Drew
    Jun 14, 2022 at 14:30
  • @Drew It was an accident like the first time I tried the same key with CTRL and the markers disappeared.
    – jcubic
    Jun 14, 2022 at 16:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.