--- browse-url.el.orig 2009-11-21 12:33:40.000000000 -0500 +++ browse-url.el 2009-11-22 07:38:25.890761600 -0500 @@ -699,6 +699,10 @@ (defun browse-url-file-url (file) "Return the URL corresponding to FILE. Use variable `browse-url-filename-alist' to map filenames to URLs." + (if (eq system-type 'cygwin) + (let ((winfile (with-output-to-string + (call-process "cygpath" nil standard-output nil "-m" file)))) + (setq file (concat "file://" (substring winfile 0 -1))))) (let ((coding (and (default-value 'enable-multibyte-characters) (or file-name-coding-system default-file-name-coding-system))))