Mercurial > emacs
changeset 99305:7152d032a2ca
(Saving Abbrevs): Note that abbrev file is not loaded in batch mode.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 01 Nov 2008 04:11:17 +0000 |
parents | fa28f5371bc9 |
children | 14b0887446ef |
files | doc/emacs/abbrevs.texi |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/abbrevs.texi Sat Nov 01 04:11:10 2008 +0000 +++ b/doc/emacs/abbrevs.texi Sat Nov 01 04:11:17 2008 +0000 @@ -216,7 +216,6 @@ Expanding any abbrev first runs the hook @code{pre-abbrev-expand-hook} (@pxref{Hooks}). -@need 1500 @node Editing Abbrevs @section Examining and Editing Abbrevs @@ -303,6 +302,7 @@ @findex read-abbrev-file @findex quietly-read-abbrev-file @vindex abbrev-file-name +@cindex abbrev file @kbd{M-x read-abbrev-file} reads a file name using the minibuffer and then reads the file, defining abbrevs according to the contents of the file. The function @code{quietly-read-abbrev-file} is similar @@ -312,7 +312,9 @@ argument, it uses the file name specified in the variable @code{abbrev-file-name}, which is by default @code{"~/.abbrev_defs"}. That file is your standard abbrev definition file, and Emacs loads -abbrevs from it automatically when it starts up. +abbrevs from it automatically when it starts up. (As an exception, +Emacs does not load the abbrev file when it is started in batch mode. +@xref{Initial Options}, for a description of batch mode.) @vindex save-abbrevs Emacs will offer to save abbrevs automatically if you have changed