aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/commands.texi
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-16 16:54:35 +0200
committerEli Zaretskii2016-01-16 16:54:35 +0200
commit964ba0f5261b2de1c5979cef8727cd1663b4438b (patch)
tree5c71acc5a95b2782e3ab595f255378a2c6629e9a /doc/lispref/commands.texi
parent2460cfac091c6a5b095816bef9e639f9da88f432 (diff)
downloademacs-964ba0f5261b2de1c5979cef8727cd1663b4438b.tar.gz
emacs-964ba0f5261b2de1c5979cef8727cd1663b4438b.zip
Document 'funcall-interactively'
* doc/lispref/commands.texi (Interactive Call): Document 'funcall-interactively'. * doc/lispref/functions.texi (Calling Functions): Mention 'funcall-interactively' and provide a cross-reference.
Diffstat (limited to 'doc/lispref/commands.texi')
-rw-r--r--doc/lispref/commands.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index dee43cefb15..9c1df895161 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -691,6 +691,14 @@ default is the return value of @code{this-command-keys-vector}.
691@xref{Definition of this-command-keys-vector}. 691@xref{Definition of this-command-keys-vector}.
692@end defun 692@end defun
693 693
694@defun funcall-interactively function &rest arguments
695This function works like @code{funcall} (@pxref{Calling Functions}),
696but it makes the call look like an interactive invocation: a call to
697@code{called-interactively-p} inside @var{function} will return
698@code{t}. If @var{function} is not a command, it is called without
699signaling an error.
700@end defun
701
694@defun command-execute command &optional record-flag keys special 702@defun command-execute command &optional record-flag keys special
695@cindex keyboard macro execution 703@cindex keyboard macro execution
696This function executes @var{command}. The argument @var{command} must 704This function executes @var{command}. The argument @var{command} must