Skip to content

Commit

Permalink
tweak(init): minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 11, 2023
1 parent 3bc033c commit 2e3c4ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@
(unless (featurep 'me-vars)
(load (expand-file-name "core/me-vars.el" (file-name-directory (file-truename load-file-name))) nil t))

;; Add some of MinEmacs' directories to `load-path'.
(setq load-path (append (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) load-path))

;; Load MinEmacs' library
(+load (concat minemacs-core-dir "me-lib.el"))
(require 'me-lib)

;; HACK: Most Emacs' builtin and third-party packages depends on the
;; `user-emacs-directory' variable to store cache information, generated
Expand Down Expand Up @@ -143,9 +146,6 @@
;; messing with "~/.emacs.d/".
(startup-redirect-eln-cache (concat minemacs-cache-dir "eln/")))

;; Add some of MinEmacs' directories to `load-path'.
(setq load-path (append (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) load-path))

(defun minemacs-generate-loaddefs ()
"Generate MinEmacs' loaddefs file."
(interactive)
Expand Down

0 comments on commit 2e3c4ed

Please sign in to comment.