feat(emacs): Change vanilla emacs to straight.el

This commit is contained in:
js0ny 2025-03-14 16:06:52 +00:00
parent cfc5fc14af
commit 918f8a6ed5
5 changed files with 38 additions and 49 deletions

View file

@ -14,16 +14,6 @@
:hook
(prog-mode . display-line-numbers-mode))
(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))
;; https://book.emacs-china.org/#orgcfd105e Open with Emacs