From: Lars Magne Ingebrigtsen Date: Sun, 14 Jul 1996 14:42:27 +0000 (+0000) Subject: * gnus-cache.el (()): Make sure byte-compilation doesn't trip on X-Git-Tag: emacs-19.34~192 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fb98e6ce187f2cfc8ce6ebaf8823c9abdbdebea0;p=emacs.git * gnus-cache.el (()): Make sure byte-compilation doesn't trip on the undefined `gnus-add-shutdown'. --- diff --git a/lisp/gnus-cache.el b/lisp/gnus-cache.el index 24b38c64667..cb770a8c619 100644 --- a/lisp/gnus-cache.el +++ b/lisp/gnus-cache.el @@ -71,7 +71,10 @@ variable to \"^nnml\".") (not (eq gnus-use-cache 'passive)))) (gnus-cache-read-active))) -(gnus-add-shutdown 'gnus-cache-close 'gnus) +(condition-case () + (gnus-add-shutdown 'gnus-cache-close 'gnus) + ;; Complexities of byte-compiling makes this kludge necessary. Eeek. + (error nil)) (defun gnus-cache-close () "Shut down the cache."