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

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

[nongnu] elpa/buttercup d5c9a19 120/340: Make --with-cleanup public so s


From: ELPA Syncer
Subject: [nongnu] elpa/buttercup d5c9a19 120/340: Make --with-cleanup public so spies can be used without specs
Date: Thu, 16 Dec 2021 14:59:17 -0500 (EST)

branch: elpa/buttercup
commit d5c9a1987576e34114da828b8aec7f86db2a1590
Author: Damien Cassou <damien@cassou.me>
Commit: Damien Cassou <damien@cassou.me>

    Make --with-cleanup public so spies can be used without specs
---
 buttercup.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buttercup.el b/buttercup.el
index 62f0d98..54fa756 100644
--- a/buttercup.el
+++ b/buttercup.el
@@ -563,7 +563,7 @@ KEYWORD can have one of the following values:
 
 (defvar buttercup--cleanup-functions nil)
 
-(defmacro buttercup--with-cleanup (&rest body)
+(defmacro buttercup-with-cleanup (&rest body)
   `(let ((buttercup--cleanup-functions nil))
      (unwind-protect (progn ,@body)
        (dolist (fun buttercup--cleanup-functions)
@@ -764,7 +764,7 @@ Do not change the global value.")
 
 (defun buttercup--run-spec (spec)
   (funcall buttercup-reporter 'spec-started spec)
-  (buttercup--with-cleanup
+  (buttercup-with-cleanup
    (dolist (f buttercup--before-each)
      (buttercup--update-with-funcall spec f))
    (buttercup--update-with-funcall spec (buttercup-spec-function spec))



reply via email to

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