file-name-directory accepts Unix-style path as parameter. This should be called before the cygwin trick that converts the path to Windows-style.
By the way, I don't have other tool like cygwin-mount.el to handle the path automatically. After switching two lines' code, it works with origin cygwin.
file-name-directory
accepts Unix-style path as parameter. This should be called before the cygwin trick that converts the path to Windows-style.By the way, I don't have other tool like
cygwin-mount.el
to handle the path automatically. After switching two lines' code, it works with origin cygwin.