-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(whitespace-cleanup-mode . t)
in dir-locals has no effect because
#9
Comments
Hmm. That actually works fine for me, with a similar version of Emacs. Can you please provide steps to reproduce this, starting with a clean ( |
With the following in
simply |
Right. I was testing it wrong, and I can confirm this behaviour. But it turns out there's a different syntax for enabling minor modes via
|
So I think that means this issue is invalid... |
I found that tip via a stackoverflow answer, but the emacs manual says not to use |
I've implemented a workaround to solve this issue (#15).
((emacs-lisp-mode (whitespace-cleanup-mode-enabled . t))) |
I think the right answer, per the emacs manual, is to use |
What's interesting is that |
(whitespace-cleanup-mode . t)
in dir-locals has no effect becausewhitespace-cleanup-mode-write-file
is not added towrite-file-functions
in that scenario.GNU Emacs 25.0.50.3 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-05-27
The text was updated successfully, but these errors were encountered: