mirror of
https://github.com/samsonjs/mojo.el.git
synced 2026-03-25 09:25:49 +00:00
mojo-hard-reset requires the name of the image to reset
This commit is contained in:
parent
f2c9c31bc4
commit
d6fd69c28a
1 changed files with 5 additions and 3 deletions
|
|
@ -203,10 +203,12 @@ NAME is the name of the scene."
|
|||
(mojo-cmd "palm-emulator" (list "--list")))
|
||||
|
||||
;;* interactive
|
||||
(defun mojo-hard-reset ()
|
||||
(defun mojo-hard-reset (image)
|
||||
"Perform a hard reset, clearing all data."
|
||||
(interactive)
|
||||
(mojo-cmd "palm-emulator" (list "--reset")))
|
||||
(interactive "sImage name: \n")
|
||||
(if (string= "" image)
|
||||
(error "Run mojo-list-emulator-images to see what images are available")
|
||||
(mojo-cmd "palm-emulator" (list "--reset" image))))
|
||||
|
||||
(defun mojo-browse ()
|
||||
"Use `browse-url' to visit your application with Palm Host."
|
||||
|
|
|
|||
Loading…
Reference in a new issue