branch: externals/ebdb
commit 2c05d6ee4f37a61e41a987751748fa9918e07876
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Wrong slot names when reading addresses
* ebdb.el (ebdb-read): That's what you get for copy and pasting.
---
ebdb.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ebdb.el b/ebdb.el
index 1217591..e30cb82 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -1646,9 +1646,9 @@ first one."
(when obj (ebdb-address-locality obj))
ebdb-locality-list)))
(region
(if (plist-member slots :region)
- (plist-get slots :state)
+ (plist-get slots :region)
(ebdb-read-string "State/Province: "
- (when obj (ebdb-address-region obj))
ebdb-locality-list)))
+ (when obj (ebdb-address-region obj))
ebdb-region-list)))
(postcode
(if (plist-member slots :postcode)
(plist-get slots :postcode)