This commit adds bin/doom, which acts as the middle man that make once was (and will stay for a while, though the documentation will shift away from using it). It does everything the previous make interface did, but is faster and more flexible. bin/doom should eventually replace the makefile. bin/doom also makes it easier to run Doom outside of ~/.emacs.d and ~/.doom.d with, for example: bin/doom run -p ~/.other.doom.d/ -e ~/.other.emacs.d bin/doom.cmd is included for Windows users, but I don't recommend using it yet. It hasn't been tested nor have I ever written a batch script before. Also update init.example.el with new defaults.
18 lines
771 B
EmacsLisp
18 lines
771 B
EmacsLisp
;;; early-init.el -*- lexical-binding: t; -*-
|
|
|
|
;; Emacs HEAD (27+) introduces early-init.el, which is run before init.el,
|
|
;; before most of its package and UI initialization happens. We can use this
|
|
;; opportunity to cull parts of the startup process early.
|
|
|
|
;; Package initialize occurs automatically, before `user-init-file' is loaded,
|
|
;; but after `early-init-file'. Doom handles package initialization, so we must
|
|
;; prevent Emacs from doing it early!
|
|
(setq package-enable-at-startup nil)
|
|
|
|
;; Faster to disable these here (before they've been initialized)
|
|
(setq tool-bar-mode nil
|
|
menu-bar-mode nil
|
|
scroll-bar-mode nil)
|
|
(modify-all-frames-parameters '((vertical-scroll-bars)))
|
|
|
|
;; TODO Once Emacs 27 hits stable, perhaps replace init.el with early-init.el
|