require with packages that are not in the default
load-path gives me the error "Cannot open load file: No such file or directory, ". However a normal
load works, but I get strange, seemingly erroneous warnings when using it. Normal packages work fine.
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/") (require 'slime-autoloads)
loadinvocation here. The documentation of
requireindicates that it uses
loadif the feature is not loaded. Something isn't adding up.
load-pathsays, "This list is consulted by the ‘require’ function." :)
loadinvocation is just
(load "slime-autoloads"), instead of the require.