77 |
on when the variable is non-<code>nil</code>. The variable <code>abbrev-mode</code> |
on when the variable is non-<code>nil</code>. The variable <code>abbrev-mode</code> |
78 |
automatically becomes local to the current buffer when it is set. |
automatically becomes local to the current buffer when it is set. |
79 |
</p> |
</p> |
80 |
<p> Abbrev definitions can be <em>mode-specific</em>--active only in one major |
<p> Abbrev definitions can be <em>mode-specific</em>—active only in one major |
81 |
mode. Abbrevs can also have <em>global</em> definitions that are active in |
mode. Abbrevs can also have <em>global</em> definitions that are active in |
82 |
all major modes. The same abbrev can have a global definition and various |
all major modes. The same abbrev can have a global definition and various |
83 |
mode-specific definitions for different major modes. A mode-specific |
mode-specific definitions for different major modes. A mode-specific |
178 |
the expansion, use command <kbd>C-x a i g</kbd> (<code>inverse-add-global-abbrev</code>) |
the expansion, use command <kbd>C-x a i g</kbd> (<code>inverse-add-global-abbrev</code>) |
179 |
instead of <kbd>C-x a g</kbd>, or use <kbd>C-x a i l</kbd> |
instead of <kbd>C-x a g</kbd>, or use <kbd>C-x a i l</kbd> |
180 |
(<code>inverse-add-mode-abbrev</code>) instead of <kbd>C-x a l</kbd>. These commands |
(<code>inverse-add-mode-abbrev</code>) instead of <kbd>C-x a l</kbd>. These commands |
181 |
are called "inverse" because they invert the meaning of the argument |
are called “inverse” because they invert the meaning of the argument |
182 |
found in the buffer and the argument read using the minibuffer. |
found in the buffer and the argument read using the minibuffer. |
183 |
</p> |
</p> |
184 |
<p> To change the definition of an abbrev, just add the new definition. You |
<p> To change the definition of an abbrev, just add the new definition. You |