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

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

[elpa] externals/ebdb 13f680a 13/21: Part two of threaded version of ebd


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 13f680a 13/21: Part two of threaded version of ebdb-initialize
Date: Sun, 17 Sep 2017 15:32:47 -0400 (EDT)

branch: externals/ebdb
commit 13f680a4fd3bac2552a427888e81693c86344956
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    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

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