-
Notifications
You must be signed in to change notification settings - Fork 0
/
init-straight.el
30 lines (23 loc) · 963 Bytes
/
init-straight.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
;;; init.el --- grfork's Emacs init file -*- lexical-binding: t -*-
;;; Commentary:
;; How to install from repo:
;; cd ~/.emacs.d/
;; cp /home/grfork/reps/dotfiles/init-straight.el init.el
;; cp /home/grfork/reps/dotfiles/init-straight.org .
;;; Code:
(add-hook 'emacs-startup-hook
(lambda ()
(message "Emacs ready in %s with %d garbage collections."
(format "%.2f seconds"
(float-time
(time-subtract after-init-time before-init-time)))
gcs-done)))
(org-babel-load-file
(expand-file-name "init-straight.org" user-emacs-directory))
;; Copy files to version control.
(copy-file user-init-file "~/reps/dotfiles/init-straight.el" t)
(copy-file (concat (file-name-directory user-init-file) "init-straight.org")
"~/reps/dotfiles/init-straight.org" t)
(provide 'init)
;;; init.el ends here
(put 'narrow-to-region 'disabled nil)