help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reloading whitespace mode


From: Gulshan Singh
Subject: Reloading whitespace mode
Date: Wed, 2 Jul 2014 12:49:26 -0700

I've written a function to change a whitespace mode setting:
https://gist.github.com/gsingh93/31192604a134c868f2a2

In order to have that setting change take effect, I need to reload
whitespace-mode. I can do that manually by doing `M-x whitespace-mode`
twice, but I want to do it from elisp. Calling whitespace-mode twice in
elisp just breaks the mode.

How can I reload whitespace mode from elisp?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]