Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thouble with init-local.el #323

Closed
juangl opened this issue Jan 16, 2016 · 1 comment
Closed

thouble with init-local.el #323

juangl opened this issue Jan 16, 2016 · 1 comment

Comments

@juangl
Copy link

juangl commented Jan 16, 2016

I write my init-local.el in ~/.emacs.d/lisp/ and I run ./test-startup.sh and get:

Attempting startup...
Loading /home/jn/.emacs.d/init.el (source)...
Loading /home/jn/.emacs.d/recentf...
Cleaning up the recentf list...
Cleaning up the recentf list...done (0 removed)
ad-handle-definition: `ido-completing-read' got redefined
Loading /home/jn/.emacs.d/custom.el (source)...
Loading /home/jn/.emacs.d/.session...
Debugger entered--Lisp error: (error "Required feature `init-local' was not provided")
  #<subr require>(init-local nil t)
  ad-Advice-require(#<subr require> init-local nil t)
  apply(ad-Advice-require #<subr require> (init-local nil t))
  require(init-local nil t)
  eval-buffer(#<buffer  *load*> nil "/home/jn/.emacs.d/init.el" nil t)  ; Reading at buffer position 4857
  load-with-code-conversion("/home/jn/.emacs.d/init.el" "/home/jn/.emacs.d/init.el" nil nil)
  load("/home/jn/.emacs.d/init.el" nil nil t)
  load-file("/home/jn/.emacs.d/init.el")
  (let ((debug-on-error t) (url-show-status nil) (user-emacs-directory default-directory) (user-init-file (expand-file-name "init.el")) (load-path (delq default-directory load-path))) (load-file user-init-file) (run-hooks (quote after-init-hook)))
  eval((let ((debug-on-error t) (url-show-status nil) (user-emacs-directory default-directory) (user-init-file (expand-file-name "init.el")) (load-path (delq default-directory load-path))) (load-file user-init-file) (run-hooks (quote after-init-hook))))
  command-line-1(("--eval" "(let ((debug-on-error t)\n                              (url-show-status nil)\n                              (user-emacs-directory default-directory)\n                              (user-init-file (expand-file-name \"init.el\"))\n                              (load-path (delq default-directory load-path)))\n                           (load-file user-init-file)\n                           (run-hooks (quote after-init-hook)))"))
  command-line()
  normal-top-level()

Wrote /home/jn/.emacs.d/.session
Wrote /home/jn/.emacs.d/ac-comphist.dat
Saving file /home/jn/.emacs.d/recentf...
Wrote /home/jn/.emacs.d/recentf

My init-local.el contains just (global-linum-mode t)

@purcell
Copy link
Owner

purcell commented Jan 16, 2016

You've almost certainly forgotten to put (provide 'init-local) at the bottom of init-local.el, as indicated in the README. :-)

@purcell purcell closed this as completed Jan 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants