From a3ed94f862575825c1453a38295dc3a7f6ff12c5 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 4 Aug 2016 20:16:06 +0200 Subject: init: Do not depend on ace-window If ace-window is not available, we no longer overwrite the default "C-x o" keybinding. --- init.d/main.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.d/main.org b/init.d/main.org index 07b16f3..1ec2e9f 100644 --- a/init.d/main.org +++ b/init.d/main.org @@ -1185,6 +1185,7 @@ the window. It is not optimal, because it does not display the possibility. Maybe I will replace it with a custom hydra. #+begin_src emacs-lisp +(when (locate-library "ace-window") (use-package ace-window :bind (("C-x o" . ace-window) ("C-x C-o" . aw-flip-window)) @@ -1197,7 +1198,7 @@ possibility. Maybe I will replace it with a custom hydra. (?v aw-split-window-vert " Ace - Split Vert Window") (?h aw-split-window-horz " Ace - Split Horz Window") (?i delete-other-windows " Ace - Maximize Window") - (?o delete-other-windows)))) + (?o delete-other-windows))))) #+end_src ** auto-complete -- cgit v1.2.3