unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Command in a function
@ 2010-03-24 21:50 Klaus Jantzen
  2010-03-24 22:36 ` Drew Adams
  0 siblings, 1 reply; 7+ messages in thread
From: Klaus Jantzen @ 2010-03-24 21:50 UTC (permalink / raw)
  To: emacs-list

Hello,

I am writing a function that inserts some text into a buffer.
At some point the cursor (point?) should go to the end of a line.

For that I found the command "end-of-line". How do I code the execution 
of this command
in a function?
I tried it with (command-execute end-of-line) but that resulted in an 
error message.

Thanks for any help.
-- 

K.D.J.





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

end of thread, other threads:[~2010-03-27 14:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 21:50 Command in a function Klaus Jantzen
2010-03-24 22:36 ` Drew Adams
2010-03-25  7:23   ` Klaus Jantzen
2010-03-26 15:29     ` Drew Adams
     [not found]       ` <4BACD9DE.6080802@t-online.de>
     [not found]         ` <52CFAD1180B1460090347833DE17B97D@us.oracle.com>
2010-03-27 10:25           ` Klaus Jantzen
2010-03-27 14:01             ` Drew Adams
2010-03-26 16:04     ` Lennart Borgman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).