summaryrefslogtreecommitdiff
path: root/lisp/gnus/nnmh.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2011-06-30 01:27:16 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2011-06-30 01:27:16 +0000
commit732b9594ceab70733e55dba8dec85e7def3824b0 (patch)
treeb8e3f0675d98bbf69b4b87a5c4845cf8d24e22c9 /lisp/gnus/nnmh.el
parentbb6177177ba48fc7f7e6cb54b8d2561694ab7859 (diff)
downloademacs-732b9594ceab70733e55dba8dec85e7def3824b0.tar.gz
nnmh.el (nnmh-request-list-1): Work on MS Windows.
Diffstat (limited to 'lisp/gnus/nnmh.el')
-rw-r--r--lisp/gnus/nnmh.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el
index 5fa1a89cf48..ec270eba2ce 100644
--- a/lisp/gnus/nnmh.el
+++ b/lisp/gnus/nnmh.el
@@ -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))