Closed avdv closed 6 years ago
:demand t
fixes this for me too:
(defun ivy/init-ivy-hydra ()
- (use-package ivy-hydra)
+ (use-package ivy-hydra
+ :demand t)
(define-key hydra-ivy/keymap [escape] 'hydra-ivy/keyboard-escape-quit-and-exit))
Likely related to the commit "Defer packages by default using use-package-always-defer"
Can confirm, that :demand t
fixes the issue.
ezchi has opened a PR: Fix (void-variable hydra-ivy/keymap) issue #10406
Fixed by https://github.com/syl20bnr/spacemacs/commit/f294d42ae553a1d8cdb30967935e1cf23d16e5c2, please report if there are still issues.
Description :octocat:
After updating the develop branch from c130014f..4fe1600f while using the
ivy
layer, I get this message on startup.Reproduction guide :beetle:
emacs
Observed behaviour: :eyes: :broken_heart: Spacemacs fails initialization.
Expected behaviour: :heart: :smile: No error. :smile:
System: Linux, Emacs 25.3.1
Backtrace :paw_prints:
Um, I think I found the issue... I had to use
:demand t
inlayers/+completion/ivy/packages.el
to force loading the ivy-hydra package before thedefine-key
call.