aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2011-11-30 01:07:46 +0000
committerKatsumi Yamaoka2011-11-30 01:07:46 +0000
commitdf103ffb3d10eef57921c9d70c6e3eac35759b73 (patch)
tree5c03bf55b33e891557f7d69ee5abf046f22d413d
parenta1beca856defa17f648164fceb511cfb4bb71e63 (diff)
downloademacs-df103ffb3d10eef57921c9d70c6e3eac35759b73.tar.gz
emacs-df103ffb3d10eef57921c9d70c6e3eac35759b73.zip
gnus-art.el (gnus-article-browse-html-parts): Convert link file names for Cygwin.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-art.el7
2 files changed, 12 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 6f1b6a3a42a..590277e89cd 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12011-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-art.el (gnus-article-browse-html-parts): Convert link file names
4 for Cygwin.
5
12011-11-24 Glenn Morris <rgm@gnu.org> 62011-11-24 Glenn Morris <rgm@gnu.org>
2 7
3 * starttls.el: Fix case of "GnuTLS". 8 * starttls.el: Fix case of "GnuTLS".
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 0abc802f558..e3eb3a04942 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -2879,6 +2879,13 @@ message header will be added to the bodies of the \"text/html\" parts."
2879 (with-current-buffer gnus-article-buffer 2879 (with-current-buffer gnus-article-buffer
2880 gnus-article-mime-handles) 2880 gnus-article-mime-handles)
2881 cid-dir)) 2881 cid-dir))
2882 (when (eq system-type 'cygwin)
2883 (setq cid-file (substring
2884 (with-output-to-string
2885 (call-process "cygpath" nil
2886 standard-output
2887 nil "-m" cid-file))
2888 0 -1)))
2882 (replace-match (concat "file://" cid-file) 2889 (replace-match (concat "file://" cid-file)
2883 nil nil nil 1)))) 2890 nil nil nil 1))))
2884 (unless content (setq content (buffer-string)))) 2891 (unless content (setq content (buffer-string))))