branch: externals/cape
commit 4aec140c08e386f09f0d7e623c58710d7256c6d2
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Minor cleanup
---
 cape.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cape.el b/cape.el
index d653593af5..fa83849269 100644
--- a/cape.el
+++ b/cape.el
@@ -735,12 +735,12 @@ If INTERACTIVE is nil the function acts like a capf."
               :annotation-function (funcall extra-fun :annotation-function)
               :exit-function (lambda (x _status) (funcall (funcall extra-fun 
:exit-function) x)))))))
 
-(defun cape--company-call (backend &rest args)
-  "Call Company BACKEND with ARGS."
+(defun cape--company-call (&rest app)
+  "Apply APP and handle future return values."
   ;; Company backends are non-interruptible.
   (let ((toi throw-on-input)
         (throw-on-input nil))
-    (pcase (apply backend args)
+    (pcase (apply app)
       (`(:async . ,future)
        (let ((res 'cape--waiting)
              (start (time-to-seconds)))

Reply via email to