mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Ensure batch-mode for el-get-byte-compile-from-stdin
It raises an error if it is run interactively.
This commit is contained in:
parent
05cf98b2a5
commit
454b9d7444
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user