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.
|
||||
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 ()
|
||||
(mapc #'funcall (delq nil (mapcar #'cdr straight--transaction-alist)))
|
||||
(setq straight--transaction-alist nil))
|
||||
|
|
Loading…
Reference in a new issue