mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Clean up init.el and bootstrap.el
This commit is contained in:
12
bootstrap.el
12
bootstrap.el
@ -1,10 +1,8 @@
|
||||
;;; bootstrap.el
|
||||
|
||||
(eval-when-compile (require 'cl-lib))
|
||||
|
||||
;; Shut up byte-compiler!
|
||||
(defvar narf-current-theme)
|
||||
(defvar narf-current-font)
|
||||
(eval-when-compile
|
||||
(defconst emacs-start-time (current-time))
|
||||
(require 'cl-lib))
|
||||
|
||||
;; Global constants
|
||||
(eval-and-compile
|
||||
@ -45,6 +43,10 @@
|
||||
;; Bootstrap
|
||||
;;
|
||||
|
||||
;; Shut up byte-compiler!
|
||||
(defvar narf-current-theme)
|
||||
(defvar narf-current-font)
|
||||
|
||||
(defun narf (packages)
|
||||
"Bootstrap NARF emacs and initialize PACKAGES"
|
||||
(setq-default gc-cons-threshold 4388608
|
||||
|
4
init.el
4
init.el
@ -40,16 +40,12 @@
|
||||
;;
|
||||
;;; License: MIT
|
||||
|
||||
(defconst emacs-start-time (current-time))
|
||||
(load (concat user-emacs-directory "bootstrap.el"))
|
||||
;;
|
||||
|
||||
(defconst narf-default-theme 'narf-dark)
|
||||
(defconst narf-default-font (font-spec :family "Hack" :size 12))
|
||||
|
||||
(setq user-full-name "Henrik Lissner"
|
||||
user-mail-address "henrik@lissner.net")
|
||||
|
||||
(narf `(core ; core/core.el
|
||||
|
||||
;; OS-specific config
|
||||
|
Reference in New Issue
Block a user