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

Ensure batch-mode for el-get-byte-compile-from-stdin

It raises an error if it is run interactively.
parent 05cf98b2
......@@ -129,6 +129,8 @@ in `:compile-files' will be byte-compiled.
Standard input can also contain a `:clean-directory' property,
whose value is a directory to be cleared of stale elc files."
(assert noninteractive nil
"`el-get-byte-compile-from-stdin' is to be used only with -batch")
(let* ((input-data (read-minibuffer ""))
(load-path (append (plist-get input-data :load-path) load-path))
(files (plist-get input-data :compile-files))
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