2004-09-09 Kevin Greiner <kgreiner@compsol.cc>
+ * gnus-agent.el (directory-files-and-attributes): Optionally
+ defined to support XEmacs.
+
+2004-09-09 Kevin Greiner <kgreiner@compsol.cc>
* gnus-agent.el (gnus-agent-cat-groups): rewrote avoiding defsetf
to avoid run-time CL dependencies.
(gnus-agent-unfetch-articles): New function.
(gnus-agent-update-view-total-fetched-for group t method path)
(gnus-agent-update-files-total-fetched-for group nil method path))))))
+;; Added to support XEmacs
+(eval-and-compile
+ (unless (fboundp 'directory-files-and-attributes)
+ (defun directory-files-and-attributes (directory
+ &optional full match nosort)
+ (let (result)
+ (dolist (file (directory-files directory full match nosort))
+ (push (cons file (file-attributes file)) result))
+ (nreverse result)))))
+
(provide 'gnus-agent)
;;; gnus-agent.el ends here