Remove doom--straight-use-local-dir-a advice
Unnecessary now that straight-base-dir exists.
This commit is contained in:
parent
e996216714
commit
91b27bdccc
1 changed files with 0 additions and 6 deletions
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue