We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ce793 commit a4d59b4Copy full SHA for a4d59b4
lisp/init-funcs.el
@@ -105,13 +105,17 @@
105
(defalias 'centaur-update-config 'update-config)
106
107
(declare-function upgrade-packages 'init-package)
108
-(defalias 'centaur-update-packages 'upgrade-packages)
+(defun centaur-update-packages ()
109
+ "Refresh package contents and upgrade all packages."
110
+ (interactive)
111
+ (package-refresh-contents)
112
+ (upgrade-packages))
113
114
(defun update-config-and-packages()
115
"Update confgiurations and packages."
116
(interactive)
117
(update-config)
- (upgrade-packages nil))
118
+ (centaur-update-packages))
119
(defalias 'centaur-update 'update-config-and-packages)
120
121
(defun update-all()
0 commit comments