GNU Info

Info Node: (elisp)Buffer-Local Variables

(elisp)Buffer-Local Variables


Next: Frame-Local Variables Prev: Variable Scoping Up: Variables
Enter node , (file) or (file)node

Buffer-Local Variables
======================

   Global and local variable bindings are found in most programming
languages in one form or another.  Emacs, however, also supports
additional, unusual kinds of variable binding: "buffer-local" bindings,
which apply only in one buffer, and "frame-local" bindings, which apply
only in one frame.  Having different values for a variable in different
buffers and/or frames is an important customization method.

   This section describes buffer-local bindings; for frame-local
bindings, see the following section, Note: Frame-Local Variables.  (A
few variables have bindings that are local to each terminal; see Note:
Multiple Displays.)

Intro to Buffer-Local
Introduction and concepts.
Creating Buffer-Local
Creating and destroying buffer-local bindings.
Default Value
The default value is seen in buffers
that don't have their own buffer-local values.

automatically generated by info2www version 1.2.2.9