1

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?

ideasman42
  • 8,375
  • 1
  • 28
  • 105

1 Answers1

1

Turning whitespace off then on worked for me. Just evaluate these two functions with M-x eval-expression or M-::

(whitespace-display-char-off)
(whitespace-display-char-on)