branch: externals/ebdb
commit 13f680a4fd3bac2552a427888e81693c86344956
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Part two of threaded version of ebdb-initialize
    
    Related to #53
    
    * ebdb.el (ebdb-load): I forgot to make the thread. Still not
      convinced anything can actually be done with this, but it shouldn't
      hurt.
---
 ebdb.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb.el b/ebdb.el
index accdcad..d31ec17 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -4934,7 +4934,8 @@ important work is done by the `ebdb-db-load' method."
        (ebdb-migrate-from-bbdb))
     (message "Initializing EBDB records...")
     (if (fboundp 'make-thread)
-       (ebdb-initialize-threadwise)
+       (let ((thread (make-thread #'ebdb-initialize-threadwise)))
+        (thread-join thread))
       (ebdb-initialize))
     (message "Initializing EBDB records... done")
     ;; Users will expect the same ordering as `ebdb-sources'

Reply via email to