Skip to content

Commit

Permalink
Reorganize init.el a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
alecigne committed Sep 24, 2023
1 parent 9664a54 commit d1bfb53
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions init.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
;; * Packages-related configuration

;; ** packages.el

(setq custom-file (expand-file-name "custom.el" user-emacs-directory))

;; Hide warning about package still requiring 'cl
Expand All @@ -13,19 +15,11 @@
("gnu" . 5)))
(package-initialize)

(setq use-package-always-defer t)
;; ** use-package

(use-package auto-package-update
;; Automatically update Emacs packages.
;; https://github.com/rranelli/auto-package-update.el
:ensure t
:disabled t
:config
(setq auto-package-update-delete-old-versions t
auto-package-update-prompt-before-update t
auto-package-update-hide-results t)
(auto-package-update-maybe))
(setq use-package-always-defer t)

;; For use-package's :delight keyword
(use-package delight
;; Enables you to customise the mode names displayed in the mode line.
;; https://elpa.gnu.org/packages/delight.html
Expand All @@ -39,6 +33,20 @@
:demand t
:config (key-chord-mode 1))

;; ** Misc.

;; For use-package's :chords keyword
(use-package auto-package-update
;; Automatically update Emacs packages.
;; https://github.com/rranelli/auto-package-update.el
:ensure t
:disabled t
:config
(setq auto-package-update-delete-old-versions t
auto-package-update-prompt-before-update t
auto-package-update-hide-results t)
(auto-package-update-maybe))

;; * Loading my init code

(defvar alc-lisp-dir (expand-file-name "lisp/" user-emacs-directory)
Expand Down

0 comments on commit d1bfb53

Please sign in to comment.