2011-02-17 Katsumi Yamaoka <yamaoka@jpl.org>
* auth-source.el: Bind load-path when loading EIEIO from
- "gnus-fallback-lib/eieio".
+ "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
+ 21.4 doesn't support, to `require'.
2011-02-16 Raphael Kubo da Costa <kubito@gmail.com> (tiny change)
(require 'assoc)
(eval-when-compile (require 'cl))
(eval-and-compile
- (or (require 'eieio nil t)
+ (or (ignore-errors (require 'eieio))
;; gnus-fallback-lib/ from gnus/lisp/gnus-fallback-lib
- (let ((load-path (cons (expand-file-name
- "gnus-fallback-lib/eieio"
- (file-name-directory (locate-library "gnus")))
- load-path)))
- (require 'eieio nil t))
+ (ignore-errors
+ (let ((load-path (cons (expand-file-name
+ "gnus-fallback-lib/eieio"
+ (file-name-directory (locate-library "gnus")))
+ load-path)))
+ (require 'eieio)))
(error
"eieio not found in `load-path' or gnus-fallback-lib/ directory.")))