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 267e846a authored by Ryan C. Thompson's avatar Ryan C. Thompson

Always run el-get-compile-process

Since el-get-byte-compile-process now does stale elc cleaning, it
needs to be run even if there's nothing to compile.
parent 8eff9779
......@@ -134,12 +134,13 @@ recursion.
(let ((bytecomp-files
(when el-get-byte-compile
(el-get-assemble-files-for-byte-compilation package))))
(if bytecomp-files
(el-get-start-process-list
package
(list (el-get-byte-compile-process package ,buf ,wdir ,sync bytecomp-files))
,post-build-fun)
(funcall ,post-build-fun package)))))
;; The byte-compilation command needs to run even if
;; `bytecomp-files' is empty, because it also cleans up
;; stale compiled files if it finds any.
(el-get-start-process-list
package
(list (el-get-byte-compile-process package ,buf ,wdir ,sync bytecomp-files))
,post-build-fun))))
;; unless installing-info, post-build-fun should take care of
;; building info too
(build-info-then-post-build-fun
......
......@@ -175,11 +175,9 @@ whose value is a directory to be cleared of stale elc files."
(let ((pdir (el-get-package-directory package))
(buf "*el-get-byte-compile*")
(files (el-get-assemble-files-for-byte-compilation package)))
(when files
(el-get-start-process-list
package
(list (el-get-byte-compile-process package buf pdir t files))
nil))))
(el-get-start-process-list
package
(list (el-get-byte-compile-process package buf pdir t files))
nil)))
(provide 'el-get-byte-compile)
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