From 77394ada9e2009ac80202f527c66efa70f21cff4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 2 Jan 2014 10:47:12 +0100 Subject: Make sure whitespace-style is set at the right time Previously the style would not be considered when enabling whitespace-mode. --- .emacs.d/init.el | 4 ++-- 1 file 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 -- cgit v1.2.3-54-g00ecf