emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104788: nnmh.el (nnmh-request-list-1


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104788: nnmh.el (nnmh-request-list-1): Work on MS Windows.
Date: Thu, 30 Jun 2011 01:27:16 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104788
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-06-30 01:27:16 +0000
message:
  nnmh.el (nnmh-request-list-1): Work on MS Windows.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/nnmh.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2011-06-30 01:02:47 +0000
+++ b/lisp/gnus/ChangeLog       2011-06-30 01:27:16 +0000
@@ -1,3 +1,7 @@
+2011-06-30  Katsumi Yamaoka  <address@hidden>
+
+       * nnmh.el (nnmh-request-list-1): Work on MS Windows.
+
 2011-06-30  Lars Magne Ingebrigtsen  <address@hidden>
 
        * message.el (message-point-in-header-p): Tweak the function to default

=== modified file 'lisp/gnus/nnmh.el'
--- a/lisp/gnus/nnmh.el 2011-01-25 04:08:28 +0000
+++ b/lisp/gnus/nnmh.el 2011-06-30 01:27:16 +0000
@@ -210,7 +210,9 @@
        (max 0)
        min rdir num subdirectoriesp file)
     ;; Recurse down directories.
-    (setq subdirectoriesp (> (nth 1 (file-attributes dir)) 2))
+    (setq subdirectoriesp
+         ;; nth 1 of file-attributes always 1 on MS Windows :(
+         (/= (nth 1 (file-attributes (file-truename dir))) 2))
     (dolist (rdir files)
       (if (or (not subdirectoriesp)
              (file-regular-p rdir))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]