+2012-07-02 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-sync.el: Simply require json.
+
+ * registry.el: Simply require eieio and eieio-base.
+
2012-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
* tests/gnustest-nntp.el, tests/gnustest-registry.el, tests/: Remove.
;;; Code:
(eval-when-compile (require 'cl))
-(eval-and-compile
- (or (ignore-errors (progn
- (require 'json)))
- ;; gnus-fallback-lib/ from gnus/lisp/gnus-fallback-lib
- (ignore-errors
- (let ((load-path (cons (expand-file-name
- "gnus-fallback-lib"
- (file-name-directory (locate-library "gnus")))
- load-path)))
- (require 'json)))
- (error
- "json not found in `load-path' or gnus-fallback-lib/ directory.")))
+(require 'json)
(require 'gnus)
(require 'gnus-start)
(require 'gnus-util)
(eval-when-compile (require 'cl))
-(eval-and-compile
- (or (ignore-errors (progn
- (require 'eieio)
- (require 'eieio-base)))
- ;; gnus-fallback-lib/ from gnus/lisp/gnus-fallback-lib
- (ignore-errors
- (let ((load-path (cons (expand-file-name
- "gnus-fallback-lib/eieio"
- (file-name-directory (locate-library "gnus")))
- load-path)))
- (require 'eieio)
- (require 'eieio-base)))
- (error
- "eieio not found in `load-path' or gnus-fallback-lib/ directory.")))
+(require 'eieio)
+(require 'eieio-base)
(defclass registry-db (eieio-persistent)
((version :initarg :version