www.delorie.com/gnu/docs/elisp-manual-21/elisp_287.html   search  
 
Buy the book!


GNU Emacs Lisp Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

21.2 Defining Commands

A Lisp function becomes a command when its body contains, at top level, a form that calls the special form interactive. 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.

21.2.1 Using interactive  General rules for interactive.
21.2.2 Code Characters for interactive  The standard letter-codes for reading arguments in various ways.
21.2.3 Examples of Using interactive  Examples of how to read interactive arguments.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003