From: Chong Yidong Date: Sun, 1 Mar 2009 19:08:46 +0000 (+0000) Subject: (Expanding Abbrevs): Mention abbrev-expand-functions instead of X-Git-Tag: emacs-pretest-23.0.92~393 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=718279c0cc5af5a9b112e50eaa527e6cebc5bfff;p=emacs.git (Expanding Abbrevs): Mention abbrev-expand-functions instead of obsolete pre-abbrev-expand-hook. Link to elisp manual. --- 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