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

Ignore nil commands in el-get-start-process-list

parent 8befd64d
......@@ -313,7 +313,14 @@ properties:
`process-send-string' for an asynchronous one.
Any other property will get put into the process object.
Any element of commands that is nil will simply be ignored. This
makes it easier to conditionally splice a command into the list.
;; Skip nil elements of commands. This makes it easier for methods
;; to conditionally splice commands into the list.
(while (and commands (null (car commands)))
(setq commands (cdr commands)))
(condition-case err
(if commands
(let* ((c (car commands))
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