|
From: | Corey Foote |
Subject: | sending commands to shell with emacs lisp |
Date: | Sun, 13 Sep 2009 01:15:38 -0400 |
I'm trying to send commands to a shell buffer. I'm able to send the command "hello world" by calling this: (defun exec-command () (interactive) (set-buffer (get-buffer "*shell*")) (insert "hello world")) But I can't figure out how to send over the "enter key" to actually make it execute the shell command. I'm an emacs lisp newbie! Thanks everybody! - Corey Hotmail: Free, trusted and rich email service. Get it now. |
[Prev in Thread] | Current Thread | [Next in Thread] |