summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/bbdb.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/bbdb.el b/lisp/bbdb.el
index bb710ec..7d74573 100644
--- a/lisp/bbdb.el
+++ b/lisp/bbdb.el
@@ -1647,8 +1647,9 @@ optional arg DONT-CHECK-DISK is non-nil (which is faster, but hazardous.)"
(set (make-local-variable 'bbdb-propnames) nil)
(set (make-local-variable 'revert-buffer-function)
'bbdb-revert-buffer)
- (mapc (lambda (ff) (bbdb-add-hook 'local-write-file-hooks (car ff)))
- bbdb-write-file-hooks))
+ (mapc (lambda (ff) (bbdb-add-hook 'local-write-file-hooks ff))
+ bbdb-write-file-hooks)
+ (setq bbdb-hashtable (make-vector 1021 0)))
(setq bbdb-modified-p (buffer-modified-p)
buffer-read-only bbdb-readonly-p)
(or bbdb-records