diff options
| author | Chong Yidong | 2008-11-01 04:11:17 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-11-01 04:11:17 +0000 |
| commit | 444faccc4d0c957b21cfb1af83eae38d877af5dc (patch) | |
| tree | 439b34f9ee9ca5d97b8a729f8b2bef6ca91d3124 | |
| parent | 05482eb1427c166f62cedf9b26aaaf5b97f15e05 (diff) | |
| download | emacs-444faccc4d0c957b21cfb1af83eae38d877af5dc.tar.gz emacs-444faccc4d0c957b21cfb1af83eae38d877af5dc.zip | |
(Saving Abbrevs): Note that abbrev file is not loaded in batch mode.
| -rw-r--r-- | doc/emacs/abbrevs.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi index 1dc4f62cb00..6777a82ceb1 100644 --- a/doc/emacs/abbrevs.texi +++ b/doc/emacs/abbrevs.texi | |||
| @@ -216,7 +216,6 @@ once. This command is effective even if Abbrev mode is not enabled. | |||
| 216 | Expanding any abbrev first runs the hook @code{pre-abbrev-expand-hook} | 216 | Expanding any abbrev first runs the hook @code{pre-abbrev-expand-hook} |
| 217 | (@pxref{Hooks}). | 217 | (@pxref{Hooks}). |
| 218 | 218 | ||
| 219 | @need 1500 | ||
| 220 | @node Editing Abbrevs | 219 | @node Editing Abbrevs |
| 221 | @section Examining and Editing Abbrevs | 220 | @section Examining and Editing Abbrevs |
| 222 | 221 | ||
| @@ -303,6 +302,7 @@ that, when executed, define the same abbrevs that you currently have. | |||
| 303 | @findex read-abbrev-file | 302 | @findex read-abbrev-file |
| 304 | @findex quietly-read-abbrev-file | 303 | @findex quietly-read-abbrev-file |
| 305 | @vindex abbrev-file-name | 304 | @vindex abbrev-file-name |
| 305 | @cindex abbrev file | ||
| 306 | @kbd{M-x read-abbrev-file} reads a file name using the minibuffer | 306 | @kbd{M-x read-abbrev-file} reads a file name using the minibuffer |
| 307 | and then reads the file, defining abbrevs according to the contents of | 307 | and then reads the file, defining abbrevs according to the contents of |
| 308 | the file. The function @code{quietly-read-abbrev-file} is similar | 308 | the file. The function @code{quietly-read-abbrev-file} is similar |
| @@ -312,7 +312,9 @@ file. If either of these functions is called with @code{nil} as the | |||
| 312 | argument, it uses the file name specified in the variable | 312 | argument, it uses the file name specified in the variable |
| 313 | @code{abbrev-file-name}, which is by default @code{"~/.abbrev_defs"}. | 313 | @code{abbrev-file-name}, which is by default @code{"~/.abbrev_defs"}. |
| 314 | That file is your standard abbrev definition file, and Emacs loads | 314 | That file is your standard abbrev definition file, and Emacs loads |
| 315 | abbrevs from it automatically when it starts up. | 315 | abbrevs from it automatically when it starts up. (As an exception, |
| 316 | Emacs does not load the abbrev file when it is started in batch mode. | ||
| 317 | @xref{Initial Options}, for a description of batch mode.) | ||
| 316 | 318 | ||
| 317 | @vindex save-abbrevs | 319 | @vindex save-abbrevs |
| 318 | Emacs will offer to save abbrevs automatically if you have changed | 320 | Emacs will offer to save abbrevs automatically if you have changed |