help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enter


From: TheFlyingDutchman
Subject: Re: Enter
Date: Tue, 4 Nov 2008 01:51:25 -0800 (PST)
User-agent: G2/1.0

On Nov 4, 12:46 am, TheFlyingDutchman <zzbba...@aol.com> wrote:
> I want to start a shell buffer and then run a command via an Emacs
> Lisp function. If I do this:
>
> (shell)
> (insert "ls\n")

Well I found something:

(comint-send-input)

seems to do the trick and simulate manually hitting [enter] in the
shell buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]