-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Where to put private pre init configs #8
Comments
Hi, Since we have |
In my case, I use ;; pur your setting for benchmarking settings before loading init.el
(defconst my-profiler-p nil
"If non-nil, use built-in profiler.el.")
(when my-profiler-p
(profiler-start 'cpu+mem))
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
;; load init.el
(load "~/Dropbox/emacs.d/config/init.el" nil t)
;; report profile result if my-profiler-p is non-nil
(when my-profiler-p
(profiler-report)) |
Yeah I like the semantics of It probably should come with a caveat in the |
Yes, you're right. It's time to include a whole section on both private config files. I'll work on this later this week. |
Hi and thanks for your effort. I'm looking for a way to add custom settings that will read before init.el or very early in init.el. For example startup benchmarking settings, initial and default frame location settings etc.
At the moment it seems to me like early-init.el will be the place but I don't know it update will overwrite this file.
The text was updated successfully, but these errors were encountered: