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

Fix el-get-byte-compile

Previously, if the el and elc files had the same modification time,
byte-compilation would not occur, when it actually should have because
it cannot be determined which file was created first.
parent 8b28d257
......@@ -36,7 +36,7 @@ newer, then compilation is skipped."
;; Byte-compile runs emacs-lisp-mode-hook; disable it
emacs-lisp-mode-hook byte-compile-warnings)
(when (or (not (file-exists-p elc))
(file-newer-than-file-p el elc))
(not (file-newer-than-file-p elc el)))
(condition-case err
(byte-compile-file el)
((debug error) ;; catch-all, allow for debugging
......
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