Hi, there!
I wrote a tiny lisp function to save the DataBase file
and then quit BBDB with killing all buffers related to BBDB.
Add following to your .emacs.
-- cut here --
(defun bbdb-save-and-quit ()
(interactive)
(bbdb-save-db t t)
(if (get-buffer bbdb-buffer-name)
(progn
(if (not (window-dedicated-p (get-buffer-window bbdb-buffer-name)))
(delete-windows-on (get-buffer bbdb-buffer-name)))
(kill-buffer bbdb-buffer-name)))
(if (get-buffer (file-name-nondirectory bbdb-file))
(kill-buffer (file-name-nondirectory bbdb-file))))
(add-hook 'bbdb-mode-hook
(function
(lambda () (define-key bbdb-mode-map "Q" 'bbdb-save-and-quit))))
-- cut here --
This enables you to quit BBDB just type "Q" in BBDB buffer.
Regards,
-- yamamoto
--
Dept. of Info. Sci., Fac. of Sci, Univ. of Tokyo, Japan.
<Junior> Yamamoto Hirotaka (in Japanese 山本 泰宇)
Mail: [EMAIL PROTECTED]
URL : http://tje12.is.s.u-tokyo.ac.jp:10000/~ymmt/