X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fdgnushack.el;h=73e457f4ac245ed29325c84ec6de9ca31e4b520a;hb=e63066873a61d6b7ecb1d6319794835580cbbc4a;hp=aad6016e7ed567fb51b0f3ef412afc3c08a362cf;hpb=97063e29f85dc31ea55a1483a6dbe97028d9a419;p=elisp%2Fgnus.git- diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index aad6016..73e457f 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -1,7 +1,7 @@ ;;; dgnushack.el --- a hack to set the load path for byte-compiling -;; Copyright (C) 1994,95,96,97 Free Software Foundation, Inc. +;; Copyright (C) 1994,95,96,97,98 Free Software Foundation, Inc. -;; Author: Lars Magne Ingebrigtsen +;; Author: Lars Magne Ingebrigtsen ;; Version: 4.19 ;; Keywords: news, path @@ -32,7 +32,7 @@ (require 'bytecomp) (push "~/lisp/custom" load-path) (push "." load-path) -(require 'lpath) +(load "./lpath.el" nil t) (defalias 'device-sound-enabled-p 'ignore) (defalias 'play-sound-file 'ignore) @@ -48,11 +48,11 @@ (fset 'x-defined-colors 'ignore) (fset 'read-color 'ignore))) -(setq byte-compile-warnings - '(free-vars unresolved callargs redefine)) - -(defun dgnushack-compile () +(defun dgnushack-compile (&optional warn) ;;(setq byte-compile-dynamic t) + (unless warn + (setq byte-compile-warnings + '(free-vars unresolved callargs redefine))) (unless (locate-library "cus-edit") (error "You do not seem to have Custom installed. Fetch it from . @@ -68,6 +68,9 @@ Modify to suit your needs.")) (condition-case () (require 'w3-forms) (error (setq files (delete "nnweb.el" (delete "nnlistserv.el" files))))) + (condition-case () + (require 'bbdb) + (error (setq files (delete "gnus-bbdb.el" files)))) (while (setq file (pop files)) (when (or (and (not xemacs) (not (member file '("gnus-xmas.el" "gnus-picon.el"