Next: , Previous: , Up: Quotations and Examples   [Contents][Index]


7.6 @lisp: Marking a Lisp Example

The @lisp command is used for Lisp code:

@lisp
Example lisp code
@end lisp

This is synonymous with the following:

@example lisp
Example lisp code
@end example

Use @lisp to preserve information regarding the nature of the example. This is useful, for example, if you write a function that evaluates only and all the Lisp code in a Texinfo file. Then you can use the Texinfo file as a Lisp library.