This bug showed up in the presence of the following two records:

[nil nil nil nil nil nil ("[EMAIL PROTECTED]") nil nil]
["GDB" "Local" nil nil nil nil ("[EMAIL PROTECTED]") nil nil]

when I tried to complete `gdb-loca'.

2002-08-19  Jim Blandy  <[EMAIL PROTECTED]>

        * lisp/bbdb-com.el (bbdb-complete-name): Don't choke if the
        record's name is nil.

Index: lisp/bbdb-com.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-com.el,v
retrieving revision 1.153
diff -c -r1.153 bbdb-com.el
*** lisp/bbdb-com.el    30 Jun 2002 00:20:41 -0000      1.153
--- lisp/bbdb-com.el    19 Aug 2002 22:56:24 -0000
***************
*** 2452,2458 ****
                (when (not (member rec uniq))
                  (setq uniq (cons rec uniq)
                        nets (bbdb-record-net rec)
!                       name (downcase (bbdb-record-name rec))
                        akas (mapcar 'downcase (bbdb-record-aka rec)))
                  (while nets
                    (setq net (car nets))
--- 2452,2458 ----
                (when (not (member rec uniq))
                  (setq uniq (cons rec uniq)
                        nets (bbdb-record-net rec)
!                       name (downcase (or (bbdb-record-name rec) ""))
                        akas (mapcar 'downcase (bbdb-record-aka rec)))
                  (while nets
                    (setq net (car nets))


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to