1 KiB
1 KiB
Emacs Early Initialization
Disable package.el
at startup so that elpaca
can enable it on its own.
(setq package-enable-at-startup nil)
Force the use of a custom.el
file instead of appending to init.el
.
(setq custom-file (concat user-emacs-directory "custom.el"))
(when (file-exists-p custom-file)
(load custom-file))
Disable the default startup screen so Emacs starts in the scratch
buffer and also defaults to an empty scratch
buffer.
(setq inhibit-startup-screen t
initial-scratch-message nil)
Clean up interface by removing unnecessary elements.
(add-to-list 'default-frame-alist '(vertical-scroll-bars . nil)) ; saves about 0.02 seconds on startup over `(scroll-bar-mode -1)`
(push '(tool-bar-lines . 0) default-frame-alist) ; saves about 0.1 seconds on startup over `(tool-bar-mode -1)`
(menu-bar-mode -1)
(setq frame-resize-pixelwise t)