emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/cape 4aec140c08 109/146: Minor cleanup


From: ELPA Syncer
Subject: [elpa] externals/cape 4aec140c08 109/146: Minor cleanup
Date: Sun, 9 Jan 2022 20:57:47 -0500 (EST)

branch: externals/cape
commit 4aec140c08e386f09f0d7e623c58710d7256c6d2
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    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

[Prev in Thread] Current Thread [Next in Thread]