diff options
| author | Lars Magne Ingebrigtsen | 1996-07-14 14:42:27 +0000 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 1996-07-14 14:42:27 +0000 |
| commit | fb98e6ce187f2cfc8ce6ebaf8823c9abdbdebea0 (patch) | |
| tree | 6d032eaa7897f9111ad4870b0d43b549957fb13c | |
| parent | 750ff6a8081c117e9e6713e6649430a6749ed5c7 (diff) | |
| download | emacs-fb98e6ce187f2cfc8ce6ebaf8823c9abdbdebea0.tar.gz emacs-fb98e6ce187f2cfc8ce6ebaf8823c9abdbdebea0.zip | |
* gnus-cache.el (()): Make sure byte-compilation doesn't trip on
the undefined `gnus-add-shutdown'.
| -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\".") | |||
| 71 | (not (eq gnus-use-cache 'passive)))) | 71 | (not (eq gnus-use-cache 'passive)))) |
| 72 | (gnus-cache-read-active))) | 72 | (gnus-cache-read-active))) |
| 73 | 73 | ||
| 74 | (gnus-add-shutdown 'gnus-cache-close 'gnus) | 74 | (condition-case () |
| 75 | (gnus-add-shutdown 'gnus-cache-close 'gnus) | ||
| 76 | ;; Complexities of byte-compiling makes this kludge necessary. Eeek. | ||
| 77 | (error nil)) | ||
| 75 | 78 | ||
| 76 | (defun gnus-cache-close () | 79 | (defun gnus-cache-close () |
| 77 | "Shut down the cache." | 80 | "Shut down the cache." |