Skip to content

Commit

Permalink
Merge pull request #22 from conao3/fix-fn-name
Browse files Browse the repository at this point in the history
Rename promise function
  • Loading branch information
chuntaro authored Jan 10, 2020
2 parents 2e7c2f1 + 2857091 commit 4615c36
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions promise.el
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ Arguments:
See `promise:make-process-with-handler' for Resolve and Reject sections."
(apply #'promise:make-process-with-handler program nil args))

(defun promise:make-process-with-buffer-string (program buf &rest args)
(defun promise:make-process-send-buffer (program buf &rest args)
"Return promise to make new asynchronous PROGRAM with ARGS.
Arguments:
Expand All @@ -251,7 +251,7 @@ See `promise:make-process-with-handler' for Resolve and Reject sections."
(process-send-eof proc)))
args))

(defun promise:make-process-with-string (program string &rest args)
(defun promise:make-process-send-string (program string &rest args)
"Return promise to make new asynchronous PROGRAM with ARGS.
Arguments:
Expand All @@ -267,6 +267,9 @@ See `promise:make-process-with-handler' for Resolve and Reject sections."
(process-send-eof proc))
args))

(define-obsolete-function-alias 'promise:make-process-with-buffer-string 'promise:make-process-send-buffer)
(define-obsolete-function-alias 'promise:make-process-with-string 'promise:make-process-send-string)

(defun promise:make-process-with-handler (program handler &rest args)
"Return promise to make new asynchronous PROGRAM with ARGS.
Expand Down

0 comments on commit 4615c36

Please sign in to comment.