From ccda9ef6bb363bc45dd84072f9fc00d3ed00743a Mon Sep 17 00:00:00 2001 From: Ryan Lloyd Date: Fri, 6 Nov 2020 02:32:09 -0500 Subject: [PATCH] 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 --- modules/lang/org/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index e51114cc3..289ea146c 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -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)))