emacs-devel
[Top][All Lists]
Advanced

[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."
>



reply via email to

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