summaryrefslogtreecommitdiff
path: root/lisp/net/eudc-vars.el
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@fitzsim.org>2015-11-22 11:29:13 -0500
committerThomas Fitzsimmons <fitzsim@fitzsim.org>2015-11-22 20:56:22 -0500
commit124f1807c4b7beafedde654dcd298ae92caf5b09 (patch)
tree32f0b2b03b2c01cf898a11d8a41ee8d0a86bdd27 /lisp/net/eudc-vars.el
parent43d2e55fc17336b33a1581adf60179ff07ad580c (diff)
downloademacs-124f1807c4b7beafedde654dcd298ae92caf5b09.tar.gz
emacs-124f1807c4b7beafedde654dcd298ae92caf5b09.tar.bz2
emacs-124f1807c4b7beafedde654dcd298ae92caf5b09.zip
Improve EUDC to BBDB 3 export
* eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone entry to single item. Add company conversion. * eudc-export.el (eudc-bbdbify-company): New function. (bbdb-parse-phone): Declare function. (eudc-bbdbify-phone): Add BBDB 3 support. (Bug#21971)
Diffstat (limited to 'lisp/net/eudc-vars.el')
-rw-r--r--lisp/net/eudc-vars.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/eudc-vars.el b/lisp/net/eudc-vars.el
index 8cffa8e466a..a08d175fd6e 100644
--- a/lisp/net/eudc-vars.el
+++ b/lisp/net/eudc-vars.el
@@ -369,7 +369,8 @@ BBDB fields. SPECs are sexps which are evaluated:
'((name . cn)
(net . mail)
(address . (eudc-bbdbify-address postaladdress "Address"))
- (phone . ((eudc-bbdbify-phone telephonenumber "Phone"))))
+ (phone . (eudc-bbdbify-phone telephonenumber "Phone"))
+ (company . (eudc-bbdbify-company o)))
"A mapping from BBDB to LDAP attributes.
This is a list of cons cells (BBDB-FIELD . SPEC-OR-LIST) where
BBDB-FIELD is the name of a field that must be defined in your BBDB