From: Katsumi Yamaoka Date: Wed, 30 Nov 2011 06:05:47 +0000 (+0000) Subject: gnus-art.el (gnus-article-browse-html-parts): Fix previous commit. X-Git-Tag: emacs-pretest-24.0.92~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfdbf7af98bf921f2fa2cdd72405e9522a950dc9;p=emacs.git gnus-art.el (gnus-article-browse-html-parts): Fix previous commit. --- diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index e3eb3a04942..60cd369875d 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -2880,12 +2880,13 @@ message header will be added to the bodies of the \"text/html\" parts." 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))) + (setq cid-file + (concat "/" (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))))