Silence byte compiler.
authorDavid Engster <deng@randomsample.de>
Fri, 22 Feb 2013 20:56:34 +0000 (21:56 +0100)
committerDavid Engster <deng@randomsample.de>
Fri, 22 Feb 2013 20:56:34 +0000 (21:56 +0100)
(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

index 829734f..d4764c0 100644 (file)
@@ -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
           (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)))))
                   ;; Older EIEIO versions do not check the class name.
                   ('wrong-number-of-arguments
                    (eieio-persistent-read file)))))