Function: eudc-bbdb-field
eudc-bbdb-field is a byte-compiled function defined in
eudcb-bbdb.el.gz.
Signature
(eudc-bbdb-field FIELD-SYMBOL)
Documentation
Convert FIELD-SYMBOL so that it is recognized by the current BBDB version.
BBDB < 3 used net; BBDB >= 3 uses mail.
Source Code
;; Defined in /usr/src/emacs/lisp/net/eudcb-bbdb.el.gz
(defun eudc-bbdb-field (field-symbol)
"Convert FIELD-SYMBOL so that it is recognized by the current BBDB version.
BBDB < 3 used `net'; BBDB >= 3 uses `mail'."
;; This just-in-time translation permits upgrading from BBDB 2 to
;; BBDB 3 without restarting Emacs.
(cond ((and (eq field-symbol 'net)
(eudc--using-bbdb-3-or-newer-p))
'mail)
((and (eq field-symbol 'company)
(eudc--using-bbdb-3-or-newer-p))
'organization)
(t field-symbol)))