Fix Issue #4212; Use Back-Slash for Win FileShares (#4218)

* Fix Issue #4212; Use Back-Slash for Win FileShares

* Replace single backslash with double

Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
Ryan Lloyd 2020-11-06 02:32:09 -05:00 committed by GitHub
parent 68b1594553
commit ccda9ef6bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,7 +412,7 @@ relative to `org-directory', unless it is an absolute path."
:face (lambda (path)
(if (or (file-remote-p path)
;; filter out network shares on windows (slow)
(and IS-WINDOWS (string-prefix-p "//" path))
(and IS-WINDOWS (string-prefix-p "\\\\" path))
(file-exists-p path))
'org-link
'error)))