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

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

Re: I want to make C-d works in two ways.


From: Elena
Subject: Re: I want to make C-d works in two ways.
Date: Wed, 08 Dec 2010 15:20:58 -0000
User-agent: G2/1.0

On Jul 24, 9:14 pm, Andreas Politz <poli...@fh-trier.de> wrote:
> That's easy.  Use `use-region-p' to branch to the desired command and
> `call-interactively' for not having to bother about the arguments.

Thank you very much, Andreas.

Is this the recommended way to write commands which act on the region?
Until now, I was just using `region-active-p'.


reply via email to

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