Mercurial > hg > xemacs-beta
diff src/callint.c @ 4644:b0ae008bf1a0
Documentment placement restriction. <87d490jb7v.fsf@uwakimon.sk.tsukuba.ac.jp>
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Sat, 20 Jun 2009 04:07:12 +0900 |
parents | ecf1ebac70d8 |
children | cdc51540fed7 |
line wrap: on
line diff
--- a/src/callint.c Sun Jun 14 16:08:22 2009 +0100 +++ b/src/callint.c Sat Jun 20 04:07:12 2009 +0900 @@ -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