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." With a prefix ARG always prompt for command to use."
(interactive "P") (interactive "P")
(when buffer-file-name (when buffer-file-name
(start-process "prelude-open-with-processes" (start-process "prelude-open-with-process"
"external-file-buffer" "*prelude-open-with-output*"
"setsid"
(cond (cond
((and (not arg) (eq system-type 'darwin)) "open") ((and (not arg) (eq system-type 'darwin)) "open")
((and (not arg) (member system-type '(gnu gnu/linux gnu/kfreebsd))) "xdg-open") ((and (not arg) (member system-type '(gnu gnu/linux gnu/kfreebsd))) "xdg-open")