Next: , Previous: , Up: Consoles and Devices   [Contents][Index]


40.5 The Selected Console and Device

Function: select-console console

This function selects the console console. Subsequent editing commands apply to its selected device, selected frame, and selected window. The selection of console lasts until the next time the user does something to select a different console, or until the next time this function is called.

Function: selected-console

This function returns the console which is currently active.

Function: select-device device

This function selects the device device.

Function: selected-device &optional console

This function returns the device which is currently active. If optional console is non-nil, this function returns the device that would be currently active if console were the selected console.