]> git.eshelyaron.com Git - emacs.git/commitdiff
* gnus-cache.el (()): Make sure byte-compilation doesn't trip on
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 1996 14:42:27 +0000 (14:42 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 1996 14:42:27 +0000 (14:42 +0000)
the undefined `gnus-add-shutdown'.

lisp/gnus-cache.el

index 24b38c6466798d887fefa1ddcd6e074a4ce17495..cb770a8c619d046222b9fab7fcb0dcba0b5e285f 100644 (file)
@@ -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."