# HG changeset patch # User Chong Yidong # Date 1225512677 0 # Node ID 7152d032a2cae9084545524bd91cd44b4c4170b4 # Parent fa28f5371bc98b57dc75a72c2fb551076a942b0e (Saving Abbrevs): Note that abbrev file is not loaded in batch mode. diff -r fa28f5371bc9 -r 7152d032a2ca doc/emacs/abbrevs.texi --- 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