-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
56 lines (39 loc) · 1.85 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
;;; init.el --- Where all the magic begins
;;
;; This file loads Org-mode and then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.
;; Load up Org Mode and (now included) Org Babel for elisp embedded in Org Mode files
(require 'package)
;since we are using use-package-don't autoload anythings
(setq package-enable-at-startup nil)
;sources for package.el
;; (dolist (source '(("marmalade" . "http://marmalade-repo.org/packages/")
;; ("elpa" . "http://tromey.com/elpa/")
;; ("gnu" . "http://elpa.gnu.org/packages/")
;; ;; TODO: Maybe, use this after emacs24 is released
;; ;; (development versions of packages)
;; ("melpa" . "http://melpa.milkbox.net/packages/")
;; ;; ("SC" . "http://joseito.republika.pl/sunrise-commander/")
;; ("org" . "http://orgmode.org/elpa/")
;; ))
;; (add-to-list 'package-archives source t))
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
;; org maybe suspect of hanging melpa, if you have hangs disable this first
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
;; Initialize installed package
(package-initialize)
;; Bootstrap `use-package'
;(unless (package-installed-p 'use-package)
; (package-refresh-contents)
; (package-install 'use-package))
(require 'use-package)
;(add-to-list 'load-path "~/.emacs.g/org-mode/lisp")
(require 'org)
(org-babel-load-file
(expand-file-name "settings.org"
user-emacs-directory))
;; init.el ends here
(put 'dired-find-alternate-file 'disabled nil)