my/package-ensure set interactive
This commit is contained in:
parent
b1112170f4
commit
8661f77888
1
init.el
1
init.el
|
@ -39,6 +39,7 @@
|
||||||
|
|
||||||
(defun my/package-ensure ()
|
(defun my/package-ensure ()
|
||||||
"Update package archives and ensure packages are installed."
|
"Update package archives and ensure packages are installed."
|
||||||
|
(interactive)
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(package-install-selected-packages)
|
(package-install-selected-packages)
|
||||||
(package-autoremove)))
|
(package-autoremove)))
|
||||||
|
|
Loading…
Reference in a new issue