-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
executable file
·28 lines (27 loc) · 1.16 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
(require 'package)
(setq package-archives
'(("melpa" . "https://www.mirrorservice.org/sites/melpa.org/packages/")
("melpa-stable" . "https://www.mirrorservice.org/sites/stable.melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")
("gnu-dev" . "https://elpa.gnu.org/devel/")
("nongnu" . "https://elpa.nongnu.org/nongnu/")
))
(setq package-install-upgrade-built-in t)
(package-initialize)
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(setq-default buffer-file-coding-system 'utf-8)
(setq native-comp-async-report-warnings-errors nil) ;; suppress the native compile warning.
;; Ensure that use-package is installed.
;;
;; If use-package isn't already installed, it's extremely likely that this is a
;; fresh installation! So we'll want to update the package repository and
;; install use-package before loading the literate configuration.
(when (not (package-installed-p 'use-package))
(package-refresh-contents)
(package-install 'use-package))
(require 'org)
(require 'bind-key)
(org-babel-load-file "~/.emacs.d/configuration.org")