[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I want to make C-d works in two ways.
From: |
TheFlyingDutchman |
Subject: |
Re: I want to make C-d works in two ways. |
Date: |
Wed, 08 Dec 2010 15:20:59 -0000 |
User-agent: |
G2/1.0 |
On Jul 26, 2:24 am, Andreas Politz <poli...@fh-trier.de> wrote:
> Elena <egarr...@gmail.com> writes:
> > 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'.
>
> Take a look at the function doc and it'll tell you the difference.
>
> -ap
It there a way to determine what version of Emacs a function first hit
the scene?