summaryrefslogtreecommitdiff
path: root/lisp/dnd.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/dnd.el')
-rw-r--r--lisp/dnd.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/dnd.el b/lisp/dnd.el
index 73703863e6b..459a7238dcd 100644
--- a/lisp/dnd.el
+++ b/lisp/dnd.el
@@ -130,6 +130,7 @@ Return nil if URI is not a local file."
(match-string 0 sysname)
sysname))))
(when (and hostname
+ (not (eq system-type 'windows-nt))
(or (string-equal "localhost" hostname)
(string-equal (downcase sysname) hostname)
(string-equal sysname-no-dot hostname)))