Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
For "add-hook"s, should they be in the :init or :config #228
Comments
|
They would go into the |
xarthurx
commented
Jul 16, 2015
|
For more general cases, it almost goes this way or case by case? Like:
and so on? |
unhammer
commented
Feb 2, 2016
|
I would put Reasoning: A line like |
xarthurx commentedJul 16, 2015
I've seen many .emacs file from the Internet, and the settings vary with where to put those hooks...
For example:
My aim is to decrease Emacs loading time.
But it seems working all right if I put all the add-hooks in config, which will be loaded after the package is loaded.
I've read the help for use-package and am still a little confused.
So theoretically, where should these lines go?