From 29af390e8c146e9f741710342db1aa369681fb75 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 25 Dec 2019 14:10:00 +0100 Subject: fix(emacs.d): Slightly more reliable way of setting edwina prefix --- tools/emacs/config/desktop.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/emacs/config/desktop.el') diff --git a/tools/emacs/config/desktop.el b/tools/emacs/config/desktop.el index 05402f68bcff..fb927b12e4d8 100644 --- a/tools/emacs/config/desktop.el +++ b/tools/emacs/config/desktop.el @@ -211,6 +211,10 @@ (exwm-input-set-key (kbd "s-m s") #'randr-layout-single) ;; Use edwina for window management shortcuts +;; +;; Its initialisation process is oddly stateful, hence configuration +;; happens here before toggling its minor mode. +(setq edwina-keymap-prefix (kbd "s-w")) (edwina-mode 1) (provide 'desktop) -- cgit 1.4.1