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

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

bug#2723: Emacs 23: `interactive': prefix argument "P" and region "r" ar


From: Stefan Monnier
Subject: bug#2723: Emacs 23: `interactive': prefix argument "P" and region "r" are mutually exclusive.
Date: Fri, 20 Mar 2009 09:19:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

>> > It seems that `(interactive "rP")' is only supplying the defun with two
>> > parameters.
>> Read C-h f interactive RET, and if you read carefully enough you'll see
>> you need (interactive "r\nP")
> No.

I see two bugs:
1 - the doc is unclear about the need for a newline.
2 - arguments without prompts should signal a warning when provided with
    a prompt (this would have helped you find your problem).


        Stefan






reply via email to

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