From: Eli Zaretskii Date: Wed, 13 Sep 2023 14:23:03 +0000 (+0300) Subject: Improve documentation of 'list-abbrevs' X-Git-Tag: emacs-29.1.90~103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a65d1a5a16734ec987ce2644d25b5156931cbd2a;p=emacs.git Improve documentation of 'list-abbrevs' * doc/emacs/abbrevs.texi (Editing Abbrevs): Describe how system abbrevs are shown by 'list-abbrevs'. Suggested by Shynur Xie . (Bug#65907) --- diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi index 3678377e9b5..6c171d47427 100644 --- a/doc/emacs/abbrevs.texi +++ b/doc/emacs/abbrevs.texi @@ -275,6 +275,8 @@ Edit a list of abbrevs; you can add, alter or remove definitions. @example @var{various other tables@dots{}} +(python-mode-skeleton-abbrev-table) +"class" (sys) 0 "" python-skeleton-class (lisp-mode-abbrev-table) "ks" 0 "keymap-set" (global-abbrev-table) @@ -297,11 +299,14 @@ keeps track of this to help you see which abbrevs you actually use, so that you can eliminate those that you don't use often. The string at the end of the line is the expansion. - Some abbrevs are marked with @samp{(sys)}. These @dfn{system abbrevs} -(@pxref{Abbrevs,,, elisp, The Emacs Lisp Reference Manual}) are -pre-defined by various modes, and are not saved to your abbrev file. -To disable a system abbrev, define an abbrev of the same name that -expands to itself, and save it to your abbrev file. + Some abbrevs are marked with @samp{(sys)}. These @dfn{system +abbrevs} (@pxref{Abbrevs,,, elisp, The Emacs Lisp Reference Manual}) +are pre-defined by various modes, and are not saved to your abbrev +file. To disable a system abbrev, define an abbrev of the same name +that expands to itself, and save it to your abbrev file. The system +abbrevs have an associated hook function, which is called to perform +the abbrev expansion; the name of that function follows the abbrev +expansion in the buffer shown by @code{list-abbrevs}. @findex edit-abbrevs @kindex C-c C-c @r{(Edit Abbrevs)}