|
From: | Teemu Likonen |
Subject: | Re: interactive codes "p" and "P" - bug or mistake |
Date: | Tue, 26 Jul 2011 19:42:40 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
* 2011-07-26T18:19:53+02:00 * Andreas Röhler wrote: > given that function: > > (defun foo-bar (foo &optional bar) > "" > (interactive "p\nP*") > (message "foo %s bar %s" foo bar)) I'm not sure what you think is wrong or unexpected there. I suggest reading info pages (info "(elisp) Prefix Command Arguments") (info "(elisp) Interactive codes") Note the difference between "raw" and "numeric" prefix argument.
[Prev in Thread] | Current Thread | [Next in Thread] |