Commit fb98e6ce authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* gnus-cache.el (()): Make sure byte-compilation doesn't trip on

the undefined `gnus-add-shutdown'.
parent 750ff6a8
...@@ -71,7 +71,10 @@ variable to \"^nnml\".") ...@@ -71,7 +71,10 @@ variable to \"^nnml\".")
(not (eq gnus-use-cache 'passive)))) (not (eq gnus-use-cache 'passive))))
(gnus-cache-read-active))) (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 () (defun gnus-cache-close ()
"Shut down the cache." "Shut down the cache."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment