summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Fenk <fenk@users.sourceforge.net>2007-05-31 19:37:10 +0000
committerRobert Fenk <fenk@users.sourceforge.net>2007-05-31 19:37:10 +0000
commit54038b807c6884e5f8b6caeb27925945fc335880 (patch)
treed48992e9937239faba4094ffb15da7e84d22fcac
parent5fdf09735d07a088e2b6d4ca6acbb38d92ed342f (diff)
Bugfix: clear the *BBDB* buffer before displaying records.
Many thanks to Leo for the fix and clarifying this to me.
-rw-r--r--lisp/bbdb.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/bbdb.el b/lisp/bbdb.el
index dbb1f94..dad579c 100644
--- a/lisp/bbdb.el
+++ b/lisp/bbdb.el
@@ -1874,6 +1874,8 @@ multi-line layout."
(save-excursion
(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))