-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot-emacs-dot-d-init.el
38 lines (35 loc) · 1.48 KB
/
dot-emacs-dot-d-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
;; HEY HEY HEY YOU SHOULD'T COMMIT CHANGES TO THIS
;; PUT THEM IN dotEmacs.org instead!
(require 'package)
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
(package-initialize)
(when (not (package-installed-p 'use-package))
(package-refresh-contents)
(package-install 'use-package))
;; set to the current directory to find all the other stuff
(setq user-init-file (or load-file-name (buffer-file-name)))
(setq user-emacs-directory (file-name-directory user-init-file))
(load (concat user-emacs-directory "./.emacs"))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-agenda-files
(cl-remove-if
(lambda
(k)
(string-match-p "archive.org" k))
(append
(find-lisp-find-files "~/Dropbox/org/" ".org$")
(find-lisp-find-files "~/org/" ".org$"))))
'(package-selected-packages
'(helm-org monitor dash powerline-evil ## org-link-minor-mode org-mobile-sync evil)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)