Remove doom--straight-use-local-dir-a advice

Unnecessary now that straight-base-dir exists.
This commit is contained in:
Henrik Lissner 2019-09-02 22:51:20 -04:00
parent e996216714
commit 91b27bdccc
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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))