all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Enter
@ 2008-11-04  8:46 TheFlyingDutchman
  2008-11-04  9:51 ` Enter TheFlyingDutchman
  2008-11-04 10:03 ` Enter Giorgos Keramidas
  0 siblings, 2 replies; 4+ messages in thread
From: TheFlyingDutchman @ 2008-11-04  8:46 UTC (permalink / raw)
  To: help-gnu-emacs


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")


Emacs will start a shell buffer and insert the command at the prompt
but it seems to be missing the effect of hitting the enter key. Is
there a way to simulate hitting the [enter] key in Emacs Lisp?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-04 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-04  8:46 Enter TheFlyingDutchman
2008-11-04  9:51 ` Enter TheFlyingDutchman
2008-11-04 10:03 ` Enter Giorgos Keramidas
2008-11-04 19:22   ` Enter TheFlyingDutchman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.