abo-abo / oremacs

My Emacs config
https://oremacs.com/
296 stars 33 forks source link

Error calling `(require 'hydra-example)' from keys.el #11

Closed srustamo closed 7 years ago

srustamo commented 7 years ago

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)

srustamo commented 7 years ago

I misspelled the package name.