Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit f760b1a6 authored by Dimitri Fontaine's avatar Dimitri Fontaine

Autoloads fixes.

parent 6b6f0656
......@@ -51,7 +51,7 @@
(defun el-get-update-autoloads (package)
"Regenerate, compile, and load any outdated packages' autoloads."
(message "el-get: updating outdated autoloads")
(message "el-get: updating autoloads for %s" package)
(let (;; Generating autoloads runs theses hooks; disable then
fundamental-mode-hook
......
......@@ -456,9 +456,9 @@ PACKAGE may be either a string or the corresponding symbol."
(defun el-get-post-install-build (package)
"Function to call after building the package while installing it."
(el-get-invalidate-autoloads package)
(el-get-init package)
(el-get-save-package-status package "installed"))
(el-get-save-package-status package "installed")
(el-get-invalidate-autoloads package) ; that will also update them
(el-get-init package))
(defun el-get-post-install (package)
"Post install PACKAGE. This will get run by a sentinel."
......@@ -692,11 +692,7 @@ already installed packages is considered."
;; don't forget to account for installation failure
(setq installed (el-get-count-packages-with-status packages "installed" "required"))
(progress-reporter-update progress (- total installed)))
(progress-reporter-done progress))
;; unless we have autoloads to update, just load them now
(unless el-get-outdated-autoloads
(el-get-eval-autoloads)))))
(progress-reporter-done progress)))))
(provide 'el-get)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment