> After restarting Emacs, I caught another error:
>
> ,----[ error ]
> | Debugger entered--Lisp error: (error "No buffer named *BBDB*")
> |   bbdb-display-records-1((["eddies" nil nil nil nil nil ("[EMAIL 
> PROTECTED]") (... ...) ["eddies" nil #<marker at 7257 in bbdb> nil]]) nil nil)
> |   bbdb-display-records((["eddies" nil nil nil nil nil ("[EMAIL PROTECTED]") 
> (... ...) ["eddies" nil #<marker at 7257 in bbdb> nil]]))
> |   bbdb("eddies" nil)
> |   call-interactively(bbdb)
> |   execute-extended-command(nil)
> |   call-interactively(execute-extended-command)
> `----

Does the following patch looks good:

--- bbdb.el	30 May 2007 00:05:04 +0100	1.246
+++ bbdb.el	30 May 2007 00:28:34 +0100	
@@ -1873,8 +1873,8 @@
     (if bbdb-multiple-buffers (bbdb-pop-up-bbdb-buffer))
 
     (save-excursion 
-      (set-buffer bbdb-buffer-name)
-
+      (set-buffer (get-buffer-create bbdb-buffer-name))
+      (let ((inhibit-read-only t)) (erase-buffer))
       ;; If append is set, clear the buffer, otherwise do clean up.
       (unless append (bbdb-undisplay-records))
 
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to