General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-04-17 16:54:31 -04:00
parent a94a591072
commit e57ba47c5a
2 changed files with 5 additions and 5 deletions

View file

@ -240,7 +240,7 @@ appropriate."
('quelpa "QUELPA")
('elpa "ELPA")))
('error
(message! (red "Error (%s): %s" (car pkg) ex)))))
(message! (red "Error installing %s: %s" (car pkg) ex)))))
(message! (bold (green "Finished!")))
(doom/reload)))))
@ -281,7 +281,7 @@ appropriate."
(if result "Updated" "Failed to update")
(symbol-name (car pkg)))))
('error
(message! (bold (red "Error installing %s: %s" (car pkg) ex))))))
(message! (bold (red "Error updating %s: %s" (car pkg) ex))))))
(message! (bold (green "Finished!")))
(doom/reload)))))
@ -325,6 +325,7 @@ appropriate."
(defun doom/delete-package (package)
"Prompts the user with a list of packages and deletes the selected package.
Use this interactively. Use `doom-delete-package' for direct calls."
(declare (interactive-only t))
(interactive
(progn
(doom-initialize)