-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.el
38 lines (26 loc) · 1.22 KB
/
init.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
31
32
33
34
35
36
37
;;; package --- Summary
;;; Commentary:
;;; This is my configuration of Emacs.
;;; Code:
;; The whole let doesn't seem to be needed anymore?
;; Normally file-name-handler-alist is set to
;; (("\\`/[^/]*\\'" . tramp-completion-file-name-handler)
;; ("\\`/[^/|:][^/|]*:" . tramp-file-name-handler)
;; ("\\`/:" . file-name-non-special))
;; Which means on every .el and .elc file loaded during start up, it has to runs those regexps against the filename.
;; (let ((file-name-handler-alist nil)))
(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)))
;; we want custom setup on a separate file. This is set because all the variables
;; that appear there are set on the different .el setup files I have
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
;; This is to move setup into an org file
(require 'org)
(org-babel-load-file (expand-file-name "README.org" user-emacs-directory))
(setq read-process-output-max (* 512 1024))
;;; init.el ends here