I installed auto-complete by M-x list-packages
, navigating to the auto-complete
package, and hit the Install button. The emacswiki page says that doing so will configure the load-path so auto-complete.el will be loaded correctly.
I have this in my init.el
(require 'auto-complete)
(global-auto-complete-mode t)
and emacs gives the following error: File error: Cannot open load file, not a directory, auto-complete
I tried adding the directory containing auto-complete.el
to the load-path
but it still gives me the same error.
load-path
if you are installing packages using the package manager (like you do usingM-x list-packages
). I would recommend removing all instances of you manually updating theload-path
and then see if the issue persists after restarting emacs. If the issue is still there, see if you can recreate the problem in anemacs -Q
session. Also, you need to have(package-initialize)
in your config.(package-initialize)
fixed it!--debug-init
option at the command line. And then you can paste here (update your question with) the error backtrace you get.