branch: externals/ebdb
commit 261454d490622abf1a4320ae277322083e3e8a87
Author: Eric Abrahamsen <e...@ericabrahamsen.net>
Commit: Eric Abrahamsen <e...@ericabrahamsen.net>

    Return results of ebdb-loop-with-exit in correct order
    
    * ebdb.el (ebdb-loop-with-exit): Items should be in the order the user
      entered them.
---
 ebdb.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index 6f7a299..41b93da 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -788,7 +788,7 @@ if CHILD-P is non-nil, one of its subclasses."
           (while t
             (push ,@body acc))
         ((quit ebdb-empty)
-         (throw '--ebdb-loop-exit-- acc))))))
+         (throw '--ebdb-loop-exit-- (nreverse acc)))))))
 
 (defmacro ebdb-debug (&rest body)
   "Excecute BODY just like `progn' with debugging capability.

Reply via email to