[Misc] Don’t load ‘dired-open’ on Windows
This commit is contained in:
parent
b6857fd436
commit
817228a7c1
4
init.el
4
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
|
||||
|
|
Loading…
Reference in New Issue