mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): Change vanilla emacs to straight.el
This commit is contained in:
parent
cfc5fc14af
commit
918f8a6ed5
5 changed files with 38 additions and 49 deletions
|
|
@ -16,6 +16,18 @@
|
|||
;; Store the auto-generated custom config to `custom.el`
|
||||
(setq custom-file (expand-file-name ".custom.el" user-emacs-directory))
|
||||
|
||||
|
||||
(defvar xdg-data-home
|
||||
(or (getenv "XDG_DATA_HOME")
|
||||
(expand-file-name "~/.local/share")))
|
||||
|
||||
(defvar xdg-cache-home
|
||||
(or (getenv "XDG_CACHE_HOME")
|
||||
(expand-file-name "~/.local/cache")))
|
||||
|
||||
(defvar user-emacs-data (expand-file-name "emacs" xdg-data-home))
|
||||
(defvar user-emacs-cache (expand-file-name "emacs" xdg-cache-home))
|
||||
|
||||
;; Load each modules
|
||||
(require 'init-package) ; package manager should be loaded first
|
||||
(require 'init-basic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue