summaryrefslogtreecommitdiff
path: root/doc/emacs/abbrevs.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-05-26 18:09:45 -0700
committerGlenn Morris <rgm@gnu.org>2014-05-26 18:09:45 -0700
commite38a5ebe6b225ecb31008cafcbd51d85c2305618 (patch)
tree6454216bb8f7e3cd6249d0ea80b3cc6b2741a95d /doc/emacs/abbrevs.texi
parentcf2f54c4e3d8adb26e3f4b8e9e51364165877444 (diff)
downloademacs-e38a5ebe6b225ecb31008cafcbd51d85c2305618.tar.gz
emacs-e38a5ebe6b225ecb31008cafcbd51d85c2305618.tar.bz2
emacs-e38a5ebe6b225ecb31008cafcbd51d85c2305618.zip
Doc updates re abbrev-expand-function
* doc/emacs/abbrevs.texi (Expanding Abbrevs): Update re abbrev-expand-function. * doc/lispref/abbrevs.texi (Abbrev Expansion): Update for expand-abbrev changes. * doc/lispref/functions.texi (Advising Functions): Standardize menu case. * lisp/abbrev.el (abbrev-expand-functions, abbrev-expand-function) (expand-abbrev, abbrev--default-expand): Doc fixes.
Diffstat (limited to 'doc/emacs/abbrevs.texi')
-rw-r--r--doc/emacs/abbrevs.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi
index 80a98ac3169..04349454fe0 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -206,8 +206,9 @@ 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 runs @code{abbrev-expand-functions}, a special
-hook. Functions in this special hook can make arbitrary changes to
+ The function @code{expand-abbrev} peforms the expansion by calling
+the function that @code{abbrev-expand-function} specifies. By
+changing this function you can make arbitrary changes to
the abbrev expansion. @xref{Abbrev Expansion,,, elisp, The Emacs Lisp
Reference Manual}.