about summary refs log tree commit diff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/init.el b/init.el
index 73780d40357a..32b87ba32b12 100644
--- a/init.el
+++ b/init.el
@@ -23,10 +23,8 @@
 (use-package ace-window
   :bind (("C-x o" . ace-window))
   :init
-  (progn  (setq aw-keys '(?f ?j ?d ?k ?s ?l ?a)
-                aw-scope 'frame)
-          ;; Show previews of ace-window numbers in the mode line for each window.
-          (ace-window-display-mode)))
+  (setq aw-keys '(?f ?j ?d ?k ?s ?l ?a)
+        aw-scope 'frame))
 
 (use-package adjust-parens :hook ((lisp-mode . adjust-parens-mode)
                                   (emacs-lisp-mode . adjust-parens-mode)))
@@ -163,6 +161,11 @@
     ;;(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: