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

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

Re: Writing Emacs-function: how?


From: d7
Subject: Re: Writing Emacs-function: how?
Date: Tue, 21 Apr 2009 08:17:15 -0700 (PDT)
User-agent: G2/1.0

On Apr 21, 4:00 pm, harven <har...@free.fr> wrote:

> Only commands can be bound to keys. A command is a function
> that can be called interactively with the M-x prefix e.g. M-x my-replace
> The (interactive) line above turns the function my-replace into a command.
> Finally, you don't need to use re-search-forward, which deals with
> regular expressions, but just the simpler command search-forward.
>
> Hope this helps

Thanks very much,

Ulrich


reply via email to

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