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

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

[elpa] externals/ebdb 7f9aded 20/33: Add to ebdb-db-list in ebdb-test-wi


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 7f9aded 20/33: Add to ebdb-db-list in ebdb-test-with-database
Date: Sun, 3 Sep 2017 17:02:23 -0400 (EDT)

branch: externals/ebdb
commit 7f9adedeb15c31afd3bc7d70e2e1efa5a2596c2d
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Add to ebdb-db-list in ebdb-test-with-database
    
    * ebdb-test.el (ebdb-test-with-database): This used to happen as a
      part of ebdb-db-load, now it happens in ebdb-load. We can't call
      that function in testing, so do the ebdb-db-list manipulation here.
      All checks in the codebase look to see if that variable is nil
      before running ebdb-load, so it must be populated.
---
 ebdb-test.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ebdb-test.el b/ebdb-test.el
index d676759..e6158f6 100644
--- a/ebdb-test.el
+++ b/ebdb-test.el
@@ -44,6 +44,9 @@
      (ebdb-db-save ,(car db-and-filename) nil t)
      ;; Load adds to `ebdb-db-list'.
      (ebdb-db-load ,(car db-and-filename))
+     ;; `ebdb-db-load' used to add db to `ebdb-db-list', but now that
+     ;; happens in `edbd-load'.  Do it manually.
+     (push ,(car db-and-filename) ebdb-db-list)
      (unwind-protect
         (progn
           ,@body)



reply via email to

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