Skip to content

Commit

Permalink
Add command to kill Groovy.
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhw committed Mar 8, 2009
1 parent bb0bcb1 commit a0cfd75
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/lisp/malabar-groovy.el
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ for hacking on Malabar itself).")
(cdr (assoc buffer initial-points-alist)) t))))
(accept-process-output (get-buffer-process buffer))))

(defun malabar-groovy-stop ()
"Stop the inferior Groovy."
(interactive)
(malabar-groovy-eval-in-process (get-buffer-process malabar-groovy-buffer-name)
"exit")
(message nil))

(defun malabar-groovy-start (&optional silent)
"Start groovy and wait for it to come up. If SILENT is NIL,
pop to the Groovy console buffer."
Expand Down

0 comments on commit a0cfd75

Please sign in to comment.