[Misc] Don’t load ‘dired-open’ on Windows

This commit is contained in:
Daniel - 2019-02-26 16:48:58 +01:00
parent b6857fd436
commit 817228a7c1
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 2 additions and 2 deletions

View File

@ -1699,8 +1699,8 @@
(when (and (eq system-type 'windows-nt)
(not (package-installed-p 'w32-browser)))
(warn "`w32-browser not installed, dired will have reduced functionality."))
(when (and (require 'dired-open)
(eq system-type 'gnu/linux))
(when (and (eq system-type 'gnu/linux)
(require 'dired-open))
(bind-key "M-RET" #'dired-open-xdg dired-mode-map)))
;; Gnus support in dired