summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorSam Steingold <sds@goems.com>2000-11-02 22:58:23 +0000
committerSam Steingold <sds@goems.com>2000-11-02 22:58:23 +0000
commit50c9c4d5087737714007b6612bd6052897d02f74 (patch)
treeedc3d12d385c00aa48158658d34478e19248c0e7 /lisp
parent47a79425d140254a4f12b9965c8aabb418c79ee2 (diff)
(bbdb-hashtable-size): call `bbdb-records' only when it is defined
Diffstat (limited to 'lisp')
-rw-r--r--lisp/bbdb.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/bbdb.el b/lisp/bbdb.el
index 18b746e..96832b6 100644
--- a/lisp/bbdb.el
+++ b/lisp/bbdb.el
@@ -276,7 +276,8 @@ you should reload `bbdb-file'."
(unless (primep val)
(error "`%s' must be prime, not %s" symb val))
(set symb val)
- (bbdb-records)
+ (when (fboundp 'bbdb-records)
+ (bbdb-records))
val))
(defcustom bbdb-default-area-code nil