From 97484a2433978ca22b51a7f83417cb1b68920720 Mon Sep 17 00:00:00 2001 From: keiichi Date: Thu, 23 Dec 1999 10:07:36 +0000 Subject: [PATCH] (dgnushack-compile): When BBDB is not installed, do not compile `gnus-bbdb.el' and `mess-bbdb.el'. --- lisp/dgnushack.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index 76b8c88..dbe5e60 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -93,6 +93,10 @@ Modify to suit your needs.")) (dolist (file '("nnweb.el" "nnlistserv.el" "nnultimate.el" "nnslashdot.el" "nnwarchive.el" "webmail.el")) (setq files (delete file files))))) + (condition-case () + (require 'bbdb) + (error (setq files (delete "gnus-bbdb.el" + (delete "mess-bbdb.el" files))))) (while (setq file (pop files)) (setq file (expand-file-name file srcdir)) (when (or (and (not xemacs) -- 1.7.10.4