diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-01-31 15:24:20 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-01-31 15:24:20 +0000 |
commit | 802fcb1df404271cf97a33cb01a51847194df346 (patch) | |
tree | b30d254b0e5b8a91c9c42cab198e269428237441 /lisp/gnus | |
parent | 6f78d6940321a8d402dc8448f6fd06a03fcbc87c (diff) | |
download | emacs-802fcb1df404271cf97a33cb01a51847194df346.tar.gz |
Cygwin support patch.
Diffstat (limited to 'lisp/gnus')
-rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/gnus/nnheader.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e57878b6e66..f5198d5eea1 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,7 @@ +2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> + + * nnheader.el: Added cygwin to system-type comparisons. + 2003-01-27 Juanma Barranquero <lektu@terra.es> * imap.el (imap-mailbox-status): Fix typo. diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 9fee7b776c5..53ab2d88ebb 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el @@ -47,7 +47,7 @@ (defvar nnheader-head-chop-length 2048 "*Length of each read operation when trying to fetch HEAD headers.") -(defvar nnheader-file-name-translation-alist +(defvar nnheader-file-name-translation-alist (let ((case-fold-search t)) (cond ((string-match "windows-nt\\|os/2\\|emx\\|cygwin32" @@ -653,12 +653,12 @@ If FULL, translate everything." ;; We translate -- but only the file name. We leave the directory ;; alone. (if (and (featurep 'xemacs) - (memq system-type '(win32 w32 mswindows windows-nt))) + (memq system-type '(win32 w32 mswindows windows-nt cygwin))) ;; This is needed on NT and stuff, because ;; file-name-nondirectory is not enough to split ;; file names, containing ':', e.g. ;; "d:\\Work\\News\\nntp+news.fido7.ru:fido7.ru.gnu.SCORE" - ;; + ;; ;; we are trying to correctly split such names: ;; "d:file.name" -> "a:" "file.name" ;; "aaa:bbb.ccc" -> "" "aaa:bbb.ccc" |