summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2008-11-01 04:11:17 +0000
committerChong Yidong <cyd@stupidchicken.com>2008-11-01 04:11:17 +0000
commit7f301591c73f50c730fb747f772ba4fe52bf0bb5 (patch)
treea0db3f461b4eb0290346edb03fc2a15bda387bd1 /doc
parent5dbcbf05a797024ac2bc6d909c9564cee317a13f (diff)
downloademacs-7f301591c73f50c730fb747f772ba4fe52bf0bb5.tar.gz
(Saving Abbrevs): Note that abbrev file is not loaded in batch mode.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/abbrevs.texi6
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.
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