With the following init file, emacs chokes on the first line:
bash-4.3$ pwd
/Users/sean/.emacs.d
bash-4.3$ cat init.el
(require 'use-package)
(use-package package)
bash-4.3$ emacs --version | head -n 1
GNU Emacs 24.4.1
However, when I run emacs 'normally' (with this init file) and perform the require
manually, it succeeds. Why would this happen? What can I do to fix it that won't have me changing load-paths every time I update use-package
?
It is interesting to note that, by specifying the load manually, no errors are reported:
bash-4.3$ emacs --batch -L init.el
However, starting emacs interactively shows the issue.
use-package
? So this is not the ordinaryuse-package.el
? Where is it? Forrequire
to work, the library needs to be in yourload-path
- that's the problem, AFAICT. – Drew Oct 26 '14 at 18:10package.el
. (Org goes from version20140101
to20140201
, for instance.) I obviously do not want to be updating my initialization file every time one of these updates occurs. This is the ordinaryuse-package.el
, just thinking ahead to when it will be updated upstream :) – Sean Allred Oct 26 '14 at 18:15