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

Manual installation (what do I put in .emacs) #1089

Closed
chrissound opened this issue Jun 12, 2017 · 5 comments
Closed

Manual installation (what do I put in .emacs) #1089

chrissound opened this issue Jun 12, 2017 · 5 comments

Comments

@chrissound
Copy link
Contributor

I've cloned down the repo, copied it into .emacs.d, however what do I put in my .emacs file?

Opening emacs seems to have no difference with the steps I've taken alone.

@chrissound chrissound changed the title Manual installation Manual installation (what do I put in .emacs) Jun 12, 2017
@arbox
Copy link
Contributor

arbox commented Jun 12, 2017

Actually nothing. Since init.el is read during the Emacs initialization. You do not need the .emacs file.

@ghost
Copy link

ghost commented Jun 24, 2017

Remove the .emacs file (or rename it to .emacs_backup) and clone the prelude repo into the .emacs.d folder.

user@computer$ ls ~/.emacs.d/
auto-save-list   core  init.el   modules   prelude-modules.el   projectile-bookmarks.eld  sample    themes  var
CONTRIBUTING.md`  elpa  init.elc  personal  prelude-modules.elc  README.md                 savefile  utils   vendor

@ghost
Copy link

ghost commented Jun 24, 2017

It seems like emacs prioritizes the .emacs file over the .emacs.d directory because when I create an empty .emacs file, emacs does not load any settings in the directory.

@raxod502
Copy link
Sponsor

This is correct. Emacs prefers ~/.emacs, then ~/.emacs.el, then ~/.emacs.d/init.el. See https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html.

@chrissound
Copy link
Contributor Author

Yes to confirm it works when removing the empty ~/.emacs file. Thanks, everyone!

chrissound added a commit to chrissound/prelude that referenced this issue Jul 16, 2017
bbatsov pushed a commit that referenced this issue Jul 16, 2017
jaju pushed a commit to jaju/prelude that referenced this issue Jul 17, 2017
dieuwedeboer pushed a commit to ben-denham/prelude that referenced this issue Dec 12, 2017
elljoh pushed a commit to ellisystems/prelude that referenced this issue Mar 20, 2019
elthariel pushed a commit to elthariel/prelude that referenced this issue Sep 24, 2019
cowboyd pushed a commit to cowboyd/.emacs.d.2023 that referenced this issue Aug 10, 2023
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

3 participants