summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-08-04 20:16:06 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-08-04 20:16:06 +0200
commita3ed94f862575825c1453a38295dc3a7f6ff12c5 (patch)
treeccdff1becf68082d06746de55107bc6dea3dd899
parent24b0e724617427c40fbe74bcb58e36ee490207a8 (diff)
downloademacs-a3ed94f862575825c1453a38295dc3a7f6ff12c5.tar.gz
emacs-a3ed94f862575825c1453a38295dc3a7f6ff12c5.tar.xz
emacs-a3ed94f862575825c1453a38295dc3a7f6ff12c5.zip
init: Do not depend on ace-window
If ace-window is not available, we no longer overwrite the default "C-x o" keybinding.
-rw-r--r--init.d/main.org3
1 files changed, 2 insertions, 1 deletions
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