From 817228a7c18580cfb970a9b29d4224fa312f47c4 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Tue, 26 Feb 2019 16:48:58 +0100 Subject: [PATCH] =?UTF-8?q?[Misc]=20Don=E2=80=99t=20load=20=E2=80=98dired-?= =?UTF-8?q?open=E2=80=99=20on=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index b89e2b6..dce93a8 100644 --- a/init.el +++ b/init.el @@ -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