From 7ac5111cded78e93f1ee1ea599c1f4b71bb7c73c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 2 Jan 2016 19:27:18 +0100 Subject: [PATCH] Fix let_user_provide_content() --- src/ui/external/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/external/editor.rs b/src/ui/external/editor.rs index d6030a5e..08ab6314 100644 --- a/src/ui/external/editor.rs +++ b/src/ui/external/editor.rs @@ -20,7 +20,7 @@ pub fn let_user_provide_content(rt: &Runtime) -> Option { } let output = { - let mut cmd = Command::new(rt.editor()); + let mut cmd = rt.editor(); cmd.arg(filepath); debug!("cmd = {:?}", cmd); cmd.spawn()