Make el-get-start-process-list fail when program is nil

This fixes #1545.
This commit is contained in:
Claudio Bley 2014-01-31 08:18:42 +01:00
parent bfffd553f4
commit ccce7e5f71

View File

@ -397,6 +397,7 @@ makes it easier to conditionally splice a command into the list.
(file-name-as-directory
(expand-file-name cdir))
default-directory)))
(unless program (error "el-get: :program argument cannot be nil"))
(if sync
(progn
(el-get-verbose-message "Running commands synchronously: %S" commands)