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

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

[elpa] externals/assess 2335b8bd69 63/95: Remove old call-capture variab


From: ELPA Syncer
Subject: [elpa] externals/assess 2335b8bd69 63/95: Remove old call-capture variable
Date: Tue, 19 Jul 2022 15:57:34 -0400 (EDT)

branch: externals/assess
commit 2335b8bd69329bff4eb70880d9c94e99ce39a702
Author: Phillip Lord <phillip.lord@russet.org.uk>
Commit: Phillip Lord <phillip.lord@russet.org.uk>

    Remove old call-capture variable
    
    The old code was a hangover from the implementation to using a closure.
---
 assess-call.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/assess-call.el b/assess-call.el
index d1369346e9..dc30978852 100644
--- a/assess-call.el
+++ b/assess-call.el
@@ -49,17 +49,6 @@
 
 
 ;; #+begin_src emacs-lisp
-(defvar assess-call--capture-store nil
-  "Store for parameters captured.")
-
-(defun assess-call--capture-advice (fn &rest args)
-  "Advice for capturing args and return from a function."
-  (let ((rtn (apply fn args)))
-    (setq assess-call--capture-store
-          (cons (cons args rtn)
-                assess-call--capture-store))
-    rtn))
-
 (defun assess-call--capture-lambda ()
   "Return function which captures args and returns of another.
 



reply via email to

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