Clean up init.el and bootstrap.el
This commit is contained in:
parent
67a360914d
commit
1543b9e3b6
2 changed files with 7 additions and 9 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue