From 444faccc4d0c957b21cfb1af83eae38d877af5dc Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 1 Nov 2008 04:11:17 +0000 Subject: [PATCH] (Saving Abbrevs): Note that abbrev file is not loaded in batch mode. --- doc/emacs/abbrevs.texi | 6 ++++-- 1 file 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. 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 @@ that, when executed, define the same abbrevs that you currently have. @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 @@ file. If either of these functions is called with @code{nil} as the 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 -- 2.39.5