All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

interactive-pane-execute-command

Generic Function
Summary

Simulates user entry of commands in an interactive-pane.

Package

capi

Signature

interactive-pane-execute-command interactive-pane command &key command-modification-function editp &allow-other-keys

Arguments

interactive-pane

An interactive-pane.

command

A Lisp form.

command-modification-function

A function or nil.

editp

A generalized boolean.

Description

The generic function interactive-pane-execute-command has the same effect as the user typing the Lisp form command into the interactive-pane interactive-pane , and pressing Return .

interactive-pane-execute-command may be called from any process.

If command-modification-function is non-nil, it is a function of one argument. It is called with argument command in the process in which interactive-pane runs. The result of this call is used as the command to enter. The default value of command-modification-function is nil.

If editp is true then the command is left at the end of the pane for the user to edit before pressing Return. If editp is nil then interactive-pane-execute-command simulates the user pressing Return . The default value of editp is nil.

See also

interactive-pane
listener-pane-insert-value


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex