From 88a72625d1e27f31be5f521ed8a7369e9f708884 Mon Sep 17 00:00:00 2001 From: David Engster Date: Fri, 22 Feb 2013 21:56:34 +0100 Subject: [PATCH] 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. --- lisp/gnus-registry.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))))) -- 2.25.1