From: David Engster Date: Fri, 22 Feb 2013 20:56:34 +0000 (+0100) Subject: Silence byte compiler. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=88a72625d1e27f31be5f521ed8a7369e9f708884;ds=sidebyside Silence byte compiler. (gnus-registry-read): Wrap call to `eieio-persistent-read' with two arguments in `with-no-warnings', so that older Emacsen don't complain during byte compilation. --- diff --git a/lisp/gnus-registry.el b/lisp/gnus-registry.el index 829734f17..d4764c08f 100644 --- a/lisp/gnus-registry.el +++ b/lisp/gnus-registry.el @@ -299,7 +299,8 @@ This is not required after changing `gnus-registry-cache-file'." (setq gnus-registry-db (gnus-registry-fixup-registry (condition-case nil - (eieio-persistent-read file 'registry-db) + (with-no-warnings + (eieio-persistent-read file 'registry-db)) ;; Older EIEIO versions do not check the class name. ('wrong-number-of-arguments (eieio-persistent-read file)))))