Clean up updated prelude-open-with

This commit is contained in:
Bozhidar Batsov 2013-08-09 12:16:42 +03:00
parent dbd920147d
commit 69861a33a0

View file

@ -41,9 +41,8 @@
With a prefix ARG always prompt for command to use."
(interactive "P")
(when buffer-file-name
(start-process "prelude-open-with-processes"
"external-file-buffer"
"setsid"
(start-process "prelude-open-with-process"
"*prelude-open-with-output*"
(cond
((and (not arg) (eq system-type 'darwin)) "open")
((and (not arg) (member system-type '(gnu gnu/linux gnu/kfreebsd))) "xdg-open")