X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fnnmh.el;h=960b15fd1aa85f9322c202572f164cc8869f8820;hb=873ba7b51ddfb07246cd874b7de72662308236c9;hp=5fa1a89cf481ea725bf998421f559ef9896fcd6c;hpb=4c2a7a1c25d5b10316f35f28c972ef3e70225f25;p=gnus diff --git a/lisp/nnmh.el b/lisp/nnmh.el index 5fa1a89cf..960b15fd1 100644 --- a/lisp/nnmh.el +++ b/lisp/nnmh.el @@ -1,6 +1,6 @@ ;;; nnmh.el --- mhspool access for Gnus -;; Copyright (C) 1995-2011 Free Software Foundation, Inc. +;; Copyright (C) 1995-2012 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Masanobu UMEDA @@ -210,7 +210,9 @@ as unread by Gnus.") (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))