Commit df103ffb authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

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

parent a1beca85
2011-11-30 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (gnus-article-browse-html-parts): Convert link file names
for Cygwin.
2011-11-24 Glenn Morris <rgm@gnu.org>
 
* starttls.el: Fix case of "GnuTLS".
......
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment