(directory-files-and-attributes): Move forward.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 10 Sep 2004 07:06:52 +0000 (07:06 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 10 Sep 2004 07:06:52 +0000 (07:06 +0000)
lisp/ChangeLog
lisp/gnus-agent.el

index 83e9da5..6ae45d6 100644 (file)
@@ -1,3 +1,7 @@
+2004-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-agent.el (directory-files-and-attributes): Move forward.
+
 2004-09-09  Kevin Greiner  <kgreiner@compsol.cc>
        * gnus-agent.el (directory-files-and-attributes): Optionally
        defined to support XEmacs.
index a6117a9..a94d8fe 100644 (file)
@@ -3894,6 +3894,16 @@ If CLEAN, obsolete (ignore)."
 (defun gnus-agent-group-covered-p (group)
   (gnus-agent-method-p (gnus-group-method group)))
 
+;; 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)))))
+
 (defun gnus-agent-update-files-total-fetched-for 
   (group delta &optional method path)
   "Update, or set, the total disk space used by the articles that the
@@ -3969,16 +3979,6 @@ 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)
 
 ;;; arch-tag: b0ba4afc-5229-4cee-ad25-9956daa4e91e