mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Remove doom--straight-use-local-dir-a advice
Unnecessary now that straight-base-dir exists.
This commit is contained in:
@ -112,12 +112,6 @@ missing) and shouldn't be deleted.")
|
|||||||
;; we just don't have to deal with them at all.
|
;; we just don't have to deal with them at all.
|
||||||
autoload-compute-prefixes nil)
|
autoload-compute-prefixes nil)
|
||||||
|
|
||||||
;; Straight is hardcoded to operate out of ~/.emacs.d/straight. Not on my watch!
|
|
||||||
(defadvice! doom--straight-use-local-dir-a (orig-fn &rest args)
|
|
||||||
:around #'straight--emacs-dir
|
|
||||||
(let ((user-emacs-directory doom-local-dir))
|
|
||||||
(apply orig-fn args)))
|
|
||||||
|
|
||||||
(defun doom--finalize-straight ()
|
(defun doom--finalize-straight ()
|
||||||
(mapc #'funcall (delq nil (mapcar #'cdr straight--transaction-alist)))
|
(mapc #'funcall (delq nil (mapcar #'cdr straight--transaction-alist)))
|
||||||
(setq straight--transaction-alist nil))
|
(setq straight--transaction-alist nil))
|
||||||
|
Reference in New Issue
Block a user