0

Making changes to whitespace-display-mappings while emacs runs doesn't seem to do anything.

(setq
 whitespace-display-mappings
 '(
   (space-mark 32 [183] [46]) ; middle-dot
   (tab-mark 9 [9654 9] [92 9]) ; arrow
  )
 )

Then later on:

(setq whitespace-display-mappings '())

Is there a way to refresh the display mapping so key bindings can be used to change which whitespace is displayed?

  • Try evaluating (whitespace-display-char-on) -- it is a non-interactive function. – lawlist Jun 3 '17 at 16:15
  • Thanks for the tip. But for some reason it doesn't work for me. – ideasman42 Jun 4 '17 at 3:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.