diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 1996-07-14 14:42:27 +0000 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 1996-07-14 14:42:27 +0000 |
commit | 369fa29e6be3bef944ab5540d15d76e43f3d886b (patch) | |
tree | 671e593774cdf2decd4e98b88e7b539ab91cae72 /lisp | |
parent | 6a4825ecce8679d45f47cee6d1a359757ea58d84 (diff) | |
download | emacs-369fa29e6be3bef944ab5540d15d76e43f3d886b.tar.gz |
* gnus-cache.el (()): Make sure byte-compilation doesn't trip on
the undefined `gnus-add-shutdown'.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus-cache.el | 5 |
1 files changed, 4 insertions, 1 deletions
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." |