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).
This commit is contained in:
Vincent Ambo 2019-01-14 13:39:43 +01:00 committed by Vincent Ambo
parent bdff24f52b
commit 09daca2fea

View file

@ -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: