From 108adcdbc375a2b44080b6c000f32ace33f27025 Mon Sep 17 00:00:00 2001 From: toctan Date: Mon, 8 Sep 2014 10:56:35 +0800 Subject: [PATCH] Fix prelude-open-with on gnu/linux/freebsd --- core/prelude-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/prelude-core.el b/core/prelude-core.el index 9af0cf7..5e3beff 100644 --- a/core/prelude-core.el +++ b/core/prelude-core.el @@ -48,7 +48,7 @@ With a prefix ARG always prompt for command to use." buffer-file-name)) (open (pcase system-type (`darwin "open") - ((pred (string-prefix-p "gnu")) "xdg-open"))) + ((or `gnu `gnu/linux `gnu/kfreebsd) "xdg-open"))) (program (if (or arg (not open)) (read-shell-command "Open current file with: ") open)))