Package: blackthorn

Macro with-input-mode

Lambda List

with-input-mode (input-mode &body body)

Arguments

  • input-mode -- The new input-mode.
  • body -- A block of code to execute with the new input-mode.

Details

Creates a new context where input-mode is the current mode. Upon exiting the block, the mode is restored to the old mode, as per a let on a special variable. Calls enter and leave on the old and new modes as they enter and leave scope, if they differ.
 

See also