* bbdb-to-lsdb.el: Verify bbdb-record-name is non-nil. lsdb-0_4
authorueno <ueno>
Tue, 30 Apr 2002 04:27:04 +0000 (04:27 +0000)
committerueno <ueno>
Tue, 30 Apr 2002 04:27:04 +0000 (04:27 +0000)
bbdb-to-lsdb.el

index fd72dc3..d2e9a0c 100644 (file)
@@ -38,7 +38,8 @@
   (while bbdb-records
     (when (setq value (bbdb-record-net (car bbdb-records)))
       (lsdb-update-record
-       (list (bbdb-record-name (car bbdb-records))
+       (list (or (bbdb-record-name (car bbdb-records))
+                (car value))
             (car value))
        (nconc
        (if (cdr value)