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

Joel Grunbaum
2022-01-01 c0c15b0059d4aff31ac376f0b19f7742ed436cc7
init.el
@@ -4,9 +4,9 @@
;; Repos
(require 'package)
(setq package-archives '(("gnu"   . "http://elpa.gnu.org/packages/")
          ("melpa" . "https://melpa.org/packages/")
          ("org"   . "https://orgmode.org/elpa/")))
(setq package-archives '(("gnu"   . "https://elpa.gnu.org/packages/")
                      ("nongnu"  . "https://elpa.nongnu.org/nongnu/")
                      ("melpa" . "https://melpa.org/packages/")))
(package-initialize)
;; use-package
@@ -16,6 +16,8 @@
(eval-when-compile
  (require 'use-package))
(require 'use-package-ensure)
(setq use-package-always-ensure t)
;; auto-package-update
(use-package auto-package-update
@@ -26,9 +28,11 @@
  (auto-package-update-maybe))
;; diminish
(use-package diminish
  :ensure t)
(use-package diminish)
;; redirect to org config file
(when (file-readable-p "~/.emacs.d/config.org")
  (org-babel-load-file "~/.emacs.d/config.org"))
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(put 'list-timers 'disabled nil)