branch: externals/ebdb
commit 71a93f57c4e81e71f0c52a0c0ccf66aff3e634e0
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Put a load protection in ebdb-mua-update-records
* ebdb-mua.el (ebdb-mua-update-records): This is one of the points we
might hit where ebdb hasn't been loaded yet.
---
ebdb-mua.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ebdb-mua.el b/ebdb-mua.el
index d9e190d..031ac3b 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -1082,6 +1082,8 @@ apply, however."
(interactive)
;; Temporarily copy and paste from `ebdb-mua-display-records',
;; refactor later.
+ (unless ebdb-record-tracker
+ (ebdb-load))
(let ((ebdb-message-all-addresses (or all ebdb-message-all-addresses))
(fmt ebdb-default-multiline-formatter)
records)