Forgot to remove the old `el-get-reload' implementation when merging the reload branch...

This commit is contained in:
Dimitri Fontaine 2011-10-12 21:08:38 +02:00
parent 6341dfa95f
commit 5bbb9c8fdc

View File

@ -588,17 +588,6 @@ PACKAGE may be either a string or the corresponding symbol."
(interactive)
(mapc 'el-get-update (el-get-list-package-names-with-status "installed")))
(defun el-get-reload (package)
"reload all the files associated with features coming from PACKAGE"
(interactive
(list (el-get-read-package-with-status "Reload" "installed")))
(loop with package = (intern package)
with prefixes = (or (plist-get (el-get-package-def package) :reload)
(list package))
for (feat . file) in (apply #'el-get-reload-alist package prefixes)
for f = (file-name-sans-extension file)
do (load f)))
(defun el-get-self-update ()
"Update el-get itself. The standard recipe takes care of reloading the code."
(interactive)