Synch to No Gnus 200409100314.
[elisp/gnus.git-] / lisp / gnus-agent.el
index 81182bd..d8de488 100644 (file)
@@ -3984,6 +3984,16 @@ modified."
         (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