summaryrefslogtreecommitdiff
path: root/doc/emacs/abbrevs.texi
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2009-03-01 19:08:46 +0000
committerChong Yidong <cyd@stupidchicken.com>2009-03-01 19:08:46 +0000
commit718279c0cc5af5a9b112e50eaa527e6cebc5bfff (patch)
tree36c31f866398b58ed71c129c920ca65e7a0f6d3d /doc/emacs/abbrevs.texi
parent130a29b6a571ea2da1f9cbb97469a404c02a6a1b (diff)
downloademacs-718279c0cc5af5a9b112e50eaa527e6cebc5bfff.tar.gz
(Expanding Abbrevs): Mention abbrev-expand-functions instead of
obsolete pre-abbrev-expand-hook. Link to elisp manual.
Diffstat (limited to 'doc/emacs/abbrevs.texi')
-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 48928739016..0740e067505 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -213,8 +213,10 @@ to turn on Abbrev mode first. It may also be useful together with a
special set of abbrev definitions for making several global replacements at
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}).
+ Expanding any abbrev runs @code{abbrev-expand-functions}, a special
+hook. Functions in this special hook can make arbitrary changes to
+the abbrev expansion. @xref{Abbrev Expansion,,, elisp, The Emacs Lisp
+Reference Manual}.
@node Editing Abbrevs
@section Examining and Editing Abbrevs