emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106551: gnus-art.el (gnus-article-br


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106551: gnus-art.el (gnus-article-browse-html-parts): Convert link file names for Cygwin.
Date: Wed, 30 Nov 2011 01:07:46 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106551
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2011-11-30 01:07:46 +0000
message:
  gnus-art.el (gnus-article-browse-html-parts): Convert link file names for 
Cygwin.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/gnus-art.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2011-11-27 18:17:40 +0000
+++ b/lisp/gnus/ChangeLog       2011-11-30 01:07:46 +0000
@@ -1,3 +1,8 @@
+2011-11-30  Katsumi Yamaoka  <address@hidden>
+
+       * gnus-art.el (gnus-article-browse-html-parts): Convert link file names
+       for Cygwin.
+
 2011-11-24  Glenn Morris  <address@hidden>
 
        * starttls.el: Fix case of "GnuTLS".

=== modified file 'lisp/gnus/gnus-art.el'
--- a/lisp/gnus/gnus-art.el     2011-11-22 02:17:20 +0000
+++ b/lisp/gnus/gnus-art.el     2011-11-30 01:07:46 +0000
@@ -2879,6 +2879,13 @@
                                (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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]