From: keiichi Date: Thu, 23 Dec 1999 10:07:36 +0000 (+0000) Subject: (dgnushack-compile): When BBDB is not installed, do not compile `gnus-bbdb.el' X-Git-Tag: nana-gnus-7_1_0_16~106 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97484a2433978ca22b51a7f83417cb1b68920720;p=elisp%2Fgnus.git- (dgnushack-compile): When BBDB is not installed, do not compile `gnus-bbdb.el' and `mess-bbdb.el'. --- 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)