Mercurial > hg > xemacs-beta
diff src/callint.c @ 4654:cdc51540fed7
Automated merge with ssh://aidan-guest@hg.debian.org//hg/xemacs/xemacs
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 15 Jul 2009 00:21:01 +0100 |
parents | f3dddd098242 b0ae008bf1a0 |
children | 8f1ee2d15784 |
line wrap: on
line diff
--- a/src/callint.c Sun Jul 12 22:39:44 2009 +0200 +++ b/src/callint.c Wed Jul 15 00:21:01 2009 +0100 @@ -86,6 +86,9 @@ The "call" to `interactive' is actually a declaration rather than a function; it tells `call-interactively' how to read arguments to pass to the function. +The interactive form must appear at the top level of the function body. If + it is wrapped in a `let' or `progn' or similar, Lisp will not even realize + the function is an interactive command! When actually called, `interactive' just returns nil. The argument of `interactive' is usually a string containing a code letter