summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-02 10:47:12 +0100
committerGravatar Tom Willemse2014-01-02 10:47:12 +0100
commit77394ada9e2009ac80202f527c66efa70f21cff4 (patch)
treeb25fd28963f989de5b8ee4ab7421db5723011e7e /.emacs.d
parent0e11326eff2fba6cb4bdf937dc60b0cae35ab25f (diff)
downloademacs-77394ada9e2009ac80202f527c66efa70f21cff4.tar.gz
emacs-77394ada9e2009ac80202f527c66efa70f21cff4.zip
Make sure whitespace-style is set at the right time
Previously the style would not be considered when enabling whitespace-mode.
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 0ce0dea..3465a16 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1289,8 +1289,8 @@ If no direction is given, don't split."
#'rainbow-delimiters-mode #'oni:maybe-prettify-symbols-mode)
(oni:add-hooks 'python-mode-hook
- #'oni:set-python-symbols #'oni:python-mode-func #'flycheck-mode
- #'smartparens-strict-mode #'whitespace-mode
+ #'oni:set-python-symbols #'flycheck-mode #'smartparens-strict-mode
+ #'whitespace-mode #'oni:python-mode-func
#'oni:set-python-imenu-function #'jedi:setup #'subword-mode)
(oni:add-hooks 'slime-repl-mode-hook