Skip to content

Commit

Permalink
Fix promise:make-process-string error in the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaro committed May 22, 2020
1 parent 3b71968 commit 7fad376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise.el
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Reject:
- Event as string represented process exit state.
The event is documented at https://www.gnu.org/software/emacs/manual/html_node/elisp/Sentinels.html"
(promise-then
(apply #'promise:make-process program args)
(funcall #'promise:make-process (cons program args))
(lambda (res)
(seq-let (stdout stderr) res
(promise:maybe-message (propertize stderr 'face '(:foreground "yellow")))
Expand Down

0 comments on commit 7fad376

Please sign in to comment.