[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/doc/lispref/commands.texi,v
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/doc/lispref/commands.texi,v |
Date: |
Wed, 15 Oct 2008 20:21:27 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 08/10/15 20:21:27
Index: commands.texi
===================================================================
RCS file: /cvsroot/emacs/emacs/doc/lispref/commands.texi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- commands.texi 15 Oct 2008 16:47:35 -0000 1.8
+++ commands.texi 15 Oct 2008 20:21:26 -0000 1.9
@@ -103,7 +103,8 @@
@cindex interactive function
A Lisp function becomes a command when its body contains, at top
-level, a form that calls the special form @code{interactive}. This
+level, a form that calls the special form @code{interactive}, or if
+the function's symbol has an @code{interactive-form} property. This
form does nothing when actually executed, but its presence serves as a
flag to indicate that interactive calling is permitted. Its argument
controls the reading of arguments for an interactive call.
@@ -141,6 +142,11 @@
@code{interactive} form are executed, but at this time
@code{interactive} simply returns @code{nil} without even evaluating its
argument.
+
address@hidden @code{interactive-form}, function property
+An interactive form can be added to a function post-facto via the
address@hidden property of the function's symbol.
address@hidden Plists}.
@end defspec
There are three possibilities for the argument @var{arg-descriptor}: