![]() |
James Thornton |
| Internet Business Consultant |
| Home | Blog | Bio | Projects | Contact | Latest Blog (new site): How to Get to Genius |
|---|
AD.2.1 Examining and Setting Variables
To examine the value of a single variable, use C-h v
(
displays something like this:
The star at the beginning of the documentation indicates that this variable is a user option. C-h v is not restricted to user options; it allows any variable name. The most convenient way to set a specific user option is with M-x set-variable. This reads the variable name with the minibuffer (with completion), and then reads a Lisp expression for the new value using the minibuffer a second time. For example,
sets
M-x set-variable is limited to user option variables, but you can
set any variable with a Lisp expression, using the function
To execute an expression like this one, go to the `*scratch*' buffer, type in the expression, and then type C-j. See section V.9 Lisp Interaction Buffers. Setting variables, like all means of customizing Emacs except where otherwise stated, affects only the current Emacs session.
This document was generated on April 2, 2002 using texi2html |
|
James Thornton, jamesthornton.com>Services: Ebusiness Consultants |
Electric Speed: It Consultant |