This question already has an answer here:
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
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.