[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix interactive spec for kill-region
From: |
T.V. Raman |
Subject: |
fix interactive spec for kill-region |
Date: |
Mon, 3 Sep 2012 17:01:37 -0700 |
The signature doesn't match, and you get byte compiler warnings.
--
--
On 9/2/12, Andreas Schwab <address@hidden> wrote:
> "T.V. Raman" <address@hidden> writes:
>
>> The definition of kill-region appears not to match its
>> interactive spec --- the optional third arg does not appear in
>> the interactive spec.
>> See
>> (defun kill-region (beg end &optional yank-handler)
>> vs
>> (interactive (list (point) (mark)))
>
> Why is that a problem?
>
> Andreas.
>
> --
> Andreas Schwab, address@hidden
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
- fix interactive spec for kill-region, T.V. Raman, 2012/09/02
- Re: fix interactive spec for kill-region, Andreas Schwab, 2012/09/02
- fix interactive spec for kill-region,
T.V. Raman <=
- Re: fix interactive spec for kill-region, Stefan Monnier, 2012/09/03
- fix interactive spec for kill-region, T.V. Raman, 2012/09/07
- Re: fix interactive spec for kill-region, Stefan Monnier, 2012/09/07
- fix interactive spec for kill-region, T.V. Raman, 2012/09/08
- Re: fix interactive spec for kill-region, Andreas Schwab, 2012/09/08