summaryrefslogtreecommitdiff
path: root/devdocs/elisp/buffer_002dlocal-variables.html
blob: bf982c1ad7f0185b1f6f8a6d3da3e4ee720c6f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 <h3 class="section">Buffer-Local Variables</h3>   <p>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, such as <em>buffer-local</em> bindings, which apply only in one buffer. Having different values for a variable in different buffers is an important customization method. (Variables can also have bindings that are local to each terminal. See <a href="multiple-terminals">Multiple Terminals</a>.) </p> <table class="menu" border="0" cellspacing="0"> <tr>
<td align="left" valign="top">• <a href="intro-to-buffer_002dlocal" accesskey="1">Intro to Buffer-Local</a>
</td>
<td> </td>
<td align="left" valign="top">Introduction and concepts. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="creating-buffer_002dlocal" accesskey="2">Creating Buffer-Local</a>
</td>
<td> </td>
<td align="left" valign="top">Creating and destroying buffer-local bindings. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="default-value" accesskey="3">Default Value</a>
</td>
<td> </td>
<td align="left" valign="top">The default value is seen in buffers that don’t have their own buffer-local values. </td>
</tr> </table><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer_002dLocal-Variables.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer_002dLocal-Variables.html</a>
  </p>
</div>