mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
General cleanup + refactor
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user