Remove evil dependency from window-manager.el

When `keybindings` requires `window-manager`, the `evil-want-integration`
warning emerges. If I remove the `evil` dependency from `window-manager`, it
resolves the issue.
This commit is contained in:
William Carroll 2020-10-04 18:27:38 +01:00
parent 3ba4112849
commit fbd5e7fb18

View file

@ -31,7 +31,6 @@
(require 'display) (require 'display)
(require 'vterm-mgt) (require 'vterm-mgt)
(require 'dash) (require 'dash)
(require 'evil)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Library ;; Library
@ -114,7 +113,6 @@
(-map-indexed (lambda (i x) (-map-indexed (lambda (i x)
(list i (window-manager--named-workspace-display x)))) (list i (window-manager--named-workspace-display x))))
-flatten)) -flatten))
(evil-set-initial-state 'exwm-mode 'emacs)
(setq exwm-workspace-number (list-length window-manager--named-workspaces)) (setq exwm-workspace-number (list-length window-manager--named-workspaces))
(setq exwm-input-simulation-keys (setq exwm-input-simulation-keys
;; TODO: Consider supporting M-d and other readline style KBDs. ;; TODO: Consider supporting M-d and other readline style KBDs.