diff --git a/promise.el b/promise.el index 65ce6fc..e5b09a3 100644 --- a/promise.el +++ b/promise.el @@ -4,7 +4,7 @@ ;; Author: chuntaro ;; URL: https://github.com/chuntaro/emacs-promise -;; Package-Requires: ((emacs "26.1") (async "1.9")) +;; Package-Requires: ((emacs "26.1")) ;; Version: 1.1 ;; Keywords: async promise convenience @@ -474,6 +474,7 @@ Resolve: Reject: - Error object while evaluating START-FUNC and FINISH-FUNC." + (require 'async) (promise-new (lambda (resolve reject) (set-process-sentinel (async-start start-func