286 |
@findex read-abbrev-file |
@findex read-abbrev-file |
287 |
@findex quietly-read-abbrev-file |
@findex quietly-read-abbrev-file |
288 |
@vindex abbrev-file-name |
@vindex abbrev-file-name |
289 |
@kbd{M-x read-abbrev-file} reads a file name using the minibuffer and |
@kbd{M-x read-abbrev-file} reads a file name using the minibuffer |
290 |
then reads the file, defining abbrevs according to the contents of the |
and then reads the file, defining abbrevs according to the contents of |
291 |
file. @kbd{M-x quietly-read-abbrev-file} is the same except that it |
the file. The function @code{quietly-read-abbrev-file} is similar |
292 |
does not display a message in the echo area saying that it is doing its |
except that it does not display a message in the echo area; you cannot |
293 |
work; it is actually useful primarily in the @file{.emacs} file. If an |
invoke it interactively, and it is used primarily in the @file{.emacs} |
294 |
empty argument is given to either of these functions, they use the file |
file. If either of these functions is called with @code{nil} as the |
295 |
name specified in the variable @code{abbrev-file-name}, which is by |
argument, it uses the file name specified in the variable |
296 |
default @code{"~/.abbrev_defs"}. |
@code{abbrev-file-name}, which is by default @code{"~/.abbrev_defs"}. |
297 |
|
That file is your standard abbrev definition file, and Emacs loads |
298 |
|
abbrevs from it automatically when it starts up. |
299 |
|
|
300 |
@vindex save-abbrevs |
@vindex save-abbrevs |
301 |
Emacs will offer to save abbrevs automatically if you have changed any of |
Emacs will offer to save abbrevs automatically if you have changed |
302 |
them, whenever it offers to save all files (for @kbd{C-x s} or @kbd{C-x |
any of them, whenever it offers to save all files (for @kbd{C-x s} or |
303 |
C-c}). This feature can be inhibited by setting the variable |
@kbd{C-x C-c}). It saves them in the file specified by |
304 |
@code{save-abbrevs} to @code{nil}. |
@code{abbrev-file-name}. This feature can be inhibited by setting the |
305 |
|
variable @code{save-abbrevs} to @code{nil}. |
306 |
|
|
307 |
@findex insert-abbrevs |
@findex insert-abbrevs |
308 |
@findex define-abbrevs |
@findex define-abbrevs |