about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2019-01-14T12·39+0100
committerVincent Ambo <github@tazj.in>2019-02-10T20·43+0100
commit09daca2fea2a857caddbeed2723b6e0c1854877d (patch)
tree06ccb872b228d850ea1fbe6af9e1f55694d97d68
parentbdff24f52b5488041e840c045c9f8c829dd9c94a (diff)
fix(init): Move ace-window-display-mode into hook function
For some reason that I can not be bothered to debug this mode will
only work correctly if initialised from inside this hook function (or
manually, after startup).
-rw-r--r--init.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/init.el b/init.el
index 32b87ba32b12..f76fb9fea4c6 100644
--- a/init.el
+++ b/init.el
@@ -152,19 +152,15 @@
                    modes
                    bindings
                    term-setup
-                   eshell-setup
-                   ))
+                   eshell-setup))
   (telephone-line-setup)
+  (ace-window-display-mode)
 
   (use-package sly
     :init (setq inferior-lisp-program (concat (nix-store-path "sbcl") "/bin/sbcl"))
     ;;(add-to-list 'company-backends 'sly-company)
     ))
 
-;; Show previews of ace-window numbers in the mode line for each
-;; window. Initialising this in the package configuration does not
-;; work.
-(ace-window-display-mode)
 
 ;; Some packages can only be initialised after the rest of the
 ;; settings has been applied: