Function: eudc-batch-export-records-to-bbdb

eudc-batch-export-records-to-bbdb is an interactive and byte-compiled function defined in eudc-export.el.gz.

Signature

(eudc-batch-export-records-to-bbdb)

Documentation

Insert all the records returned by a directory query into BBDB.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc-export.el.gz
(defun eudc-batch-export-records-to-bbdb ()
  "Insert all the records returned by a directory query into BBDB."
  (interactive)
  (require 'bbdb)
  (goto-char (point-min))
  (let ((nbrec 0)
	record)
    (while (eudc-move-to-next-record)
      (and (overlays-at (point))
	   (setq record (overlay-get (car (overlays-at (point))) 'eudc-record))
           (setq nbrec (1+ nbrec))
	   (eudc-create-bbdb-record record t)))
    (message "%d records imported into BBDB" nbrec)))