commit | author | age
|
3aeba0
|
1 |
;; Set file for custom changes
|
C |
2 |
(setq custom-file "~/.emacs.d/custom.el")
|
|
3 |
(load custom-file 'noerror)
|
|
4 |
|
990949
|
5 |
;; Repos
|
C |
6 |
(require 'package)
|
|
7 |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
|
|
8 |
("melpa" . "https://melpa.org/packages/")
|
|
9 |
("org" . "https://orgmode.org/elpa/")))
|
|
10 |
(package-initialize)
|
|
11 |
|
|
12 |
;; use-package
|
|
13 |
(unless (package-installed-p 'use-package)
|
|
14 |
(package-refresh-contents)
|
|
15 |
(package-install 'use-package))
|
|
16 |
|
|
17 |
(eval-when-compile
|
|
18 |
(require 'use-package))
|
|
19 |
|
|
20 |
;; auto-package-update
|
|
21 |
(use-package auto-package-update
|
|
22 |
:ensure t
|
|
23 |
:config
|
|
24 |
(setq auto-package-update-delete-old-versions t)
|
|
25 |
(setq auto-package-update-hide-results t)
|
|
26 |
(auto-package-update-maybe))
|
|
27 |
|
|
28 |
;; diminish
|
|
29 |
(use-package diminish
|
|
30 |
:ensure t)
|
|
31 |
|
|
32 |
;; redirect to org config file
|
|
33 |
(when (file-readable-p "~/.emacs.d/config.org")
|
|
34 |
(org-babel-load-file "~/.emacs.d/config.org"))
|
bf794a
|
35 |
(put 'upcase-region 'disabled nil)
|
JG |
36 |
(put 'downcase-region 'disabled nil)
|
be9cff
|
37 |
(put 'list-timers 'disabled nil)
|