With Emacs 20.7.1, I got several complaints about mapc being unbound.
I found a few places in the source where plain mapc is used, rather
than bbdb-mapc.  The following patch against current CVS seems to fix
the problem, although I have not tested extensively.


Index: lisp/bbdb-com.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-com.el,v
retrieving revision 1.158
diff -u -r1.158 bbdb-com.el
--- lisp/bbdb-com.el    2 Jan 2003 15:52:31 -0000       1.158
+++ lisp/bbdb-com.el    29 Jan 2003 18:38:11 -0000
@@ -2484,9 +2484,9 @@
             uniq nets net name akas)
         ;; Now collect all the dwim-addresses for each completion, but only
         ;; once for each record!  Add it if the net is part of the completions
-        (mapc
+        (bbdb-mapc
          (lambda (sym)
-           (mapc
+           (bbdb-mapc
             (lambda (rec)
               (when (not (member rec uniq))
                 (setq uniq (cons rec uniq)
Index: lisp/bbdb.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb.el,v
retrieving revision 1.198
diff -u -r1.198 bbdb.el
--- lisp/bbdb.el        25 Dec 2002 15:06:00 -0000      1.198
+++ lisp/bbdb.el        29 Jan 2003 18:38:12 -0000
@@ -2963,7 +2963,7 @@
             (invalid nil))
         (when records
           (setq records (cdr records))
-          (mapc (lambda (record)
+          (bbdb-mapc (lambda (record)
                   (if (bbdb-record-deleted-p record)
                       (setq invalid t)))
                 records))



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to