[gnus git] branch master updated: n0-17-409-g081fa2d =1= gnus-art.el (gnus-article-browse-html-parts): Convert link file names for Cygwin.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  081fa2de09a0c20ab78393990a8595c59d647ace (commit)
      from  345385dcc35b87d428f52d1640b92394123fe04c (commit)


- Log -----------------------------------------------------------------
commit 081fa2de09a0c20ab78393990a8595c59d647ace
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Nov 30 01:07:17 2011 +0000

    gnus-art.el (gnus-article-browse-html-parts): Convert link file names for Cygwin.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ecb78c6..631e9ba 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-30  Katsumi Yamaoka  <[email protected]>
+
+	* gnus-art.el (gnus-article-browse-html-parts): Convert link file names
+	for Cygwin.
+
 2011-11-27  Paul Eggert  <[email protected]>
 
 	* gnus-group.el (gnus-group-prepare-flat):
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 0abc802..e3eb3a0 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -2879,6 +2879,13 @@ message header will be added to the bodies of the \"text/html\" parts."
 				(with-current-buffer gnus-article-buffer
 				  gnus-article-mime-handles)
 				cid-dir))
+		     (when (eq system-type 'cygwin)
+		       (setq cid-file (substring
+				       (with-output-to-string
+					 (call-process "cygpath" nil
+						       standard-output
+						       nil "-m" cid-file))
+				       0 -1)))
 		     (replace-match (concat "file://" cid-file)
 				    nil nil nil 1))))
 	       (unless content (setq content (buffer-string))))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    5 +++++
 lisp/gnus-art.el |    7 +++++++
 2 files changed, 12 insertions(+), 0 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.