Print filename instead of absolute paths for purged ELPA packages
This commit is contained in:
parent
f8ed1894e7
commit
a4653f475b
1 changed files with 3 additions and 2 deletions
|
@ -296,10 +296,11 @@ declaration) or dependency thereof that hasn't already been."
|
|||
(if (file-directory-p path)
|
||||
(delete-directory path 'recursive)
|
||||
(delete-file path))
|
||||
(print! (success "Deleted %s") (relpath path)))
|
||||
(print! (success "Deleted %s") (filename path)))
|
||||
(error
|
||||
(print! (error "Failed to delete %s because: %s")
|
||||
(relpath path) e)))))))
|
||||
(filename path)
|
||||
e)))))))
|
||||
|
||||
(defun doom-cli-packages-purge (&optional elpa-p builds-p repos-p regraft-repos-p)
|
||||
"Auto-removes orphaned packages and repos.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue