fix(mu4e): only bind h when workspaces loaded

This commit is contained in:
Dominik Schrempf 2021-11-15 15:35:27 +01:00 committed by Henrik Lissner
parent 4ea5bbcc9c
commit d49693da91

View file

@ -193,8 +193,9 @@
(when (fboundp 'imagemagick-register-types)
(imagemagick-register-types))
(map! :map mu4e-main-mode-map
:ne "h" #'+workspace/other)
(when (featurep! :ui workspaces)
(map! :map mu4e-main-mode-map
:ne "h" #'+workspace/other))
(map! :map mu4e-headers-mode-map
:vne "l" #'+mu4e/capture-msg-to-agenda)