Remove doom-elpa-dir variable

And just use package-user-dir. No need for two variable when one will
do.
This commit is contained in:
Henrik Lissner 2019-09-24 20:49:24 -04:00
parent 22e3dfa677
commit 45240699e0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 5 additions and 9 deletions

View file

@ -439,7 +439,7 @@ a list of packages that will be updated."
(package-initialize))
(let ((packages (cl-loop for (package desc) in package-alist
for dir = (package-desc-dir desc)
if (file-in-directory-p dir doom-elpa-dir)
if (file-in-directory-p dir package-user-dir)
collect (cons package dir))))
(if (not package-alist)
(progn (print! (info "No ELPA packages to purge"))