Error calling `(require 'hydra-example)' from keys.el
Closed this issue · 1 comments
My keys.el
is in the root as in your config. I get the below error when have (require 'keys.el)
in my init.el
.
If, however, I remove (require 'hydra-example)
from keys.el
and move it to init.el
, all is well.
hydra-example.el
is in elpa
dir, which is on the load-path
. Not sure why it cannot be found, as emacs-d
is also in the load-path
.
Debugger entered--Lisp error: (file-error "Cannot open load file" "Not a directory" "hydra-example")
#(hydra-example nil nil)
ad-Advice-require(# hydra-example)
apply(ad-Advice-require # hydra-example)
require(hydra-example)
eval((require (quote hydra-example)) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
I misspelled the package name.