mirror of https://github.com/Chizi123/.emacs.d.git

Joel Grunbaum
2024-02-14 46132dcf362f3da63ffa1d8573dc5995d8e7e767
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
56a5d8 5 ;; Load package manager
JG 6 (setq package-manager 'straight)
7 (load "~/.emacs.d/package-manager.el" `noerror)
990949 8
C 9 ;; auto-package-update
56a5d8 10 (when (eq package-manager 'package)
JG 11   (use-package auto-package-update
12     :ensure t
13     :config
14     (setq auto-package-update-delete-old-versions t)
15     (setq auto-package-update-hide-results t)
16     (setq auto-package-update-interval 7)
17     (setq auto-package-update-at-time "03:00")
18     (auto-package-update-maybe)))
990949 19
C 20 ;; diminish
0c72fd 21 (use-package diminish)
990949 22
56a5d8 23 ;; org-mode
JG 24 (use-package org)
25
990949 26 ;; redirect to org config file
C 27 (when (file-readable-p "~/.emacs.d/config.org")
28   (org-babel-load-file "~/.emacs.d/config.org"))
bf794a 29 (put 'upcase-region 'disabled nil)
JG 30 (put 'downcase-region 'disabled nil)
be9cff 31 (put 'list-timers 'disabled nil)