changeset 15670:6101ab54d20a

* gnus-cache.el (()): Make sure byte-compilation doesn't trip on the undefined `gnus-add-shutdown'.
author Lars Magne Ingebrigtsen <larsi@gnus.org>
date Sun, 14 Jul 1996 14:42:27 +0000
parents 84ad859492b2
children 27e6b6f4f1b6
files lisp/gnus-cache.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus-cache.el	Sun Jul 14 14:32:45 1996 +0000
+++ b/lisp/gnus-cache.el	Sun Jul 14 14:42:27 1996 +0000
@@ -71,7 +71,10 @@
 		 (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."