From 7eeff45f6f192cdeef47b1a1fa27bd110fa82543 Mon Sep 17 00:00:00 2001 From: Tristin Celestin Date: Thu, 28 Oct 2010 23:24:43 -0400 Subject: [PATCH] Changed mojo-emulator-responsive-p to use the absolute path of palm-install --- src/code.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/code.el b/src/code.el index 54611ad..187b38f 100644 --- a/src/code.el +++ b/src/code.el @@ -823,9 +823,9 @@ This command only works on Unix-like systems." (defun mojo-emulator-responsive-p () "Determine if the webOS emulator is able to respond to commands yet. - (i.e. if it's done booting)." - (= 0 (shell-command "palm-install -d tcp --list >/dev/null 2>&1"))) +(= 0 (shell-command (concat (mojo-path-to-cmd "palm-install") " -d tcp --list >/dev/null 2>&1")))) + (defun mojo-path-to-cmd (cmd) "Return the absolute path to a Mojo SDK command line program."