summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-09-13 17:23:03 +0300
committerEli Zaretskii <eliz@gnu.org>2023-09-13 17:23:03 +0300
commita65d1a5a16734ec987ce2644d25b5156931cbd2a (patch)
treead2f4827320815bae259129d44769c6f9da80921 /doc/emacs
parent5dcc4b7eab1bb6949bfcd179b3582f777dcc2cea (diff)
downloademacs-a65d1a5a16734ec987ce2644d25b5156931cbd2a.tar.gz
emacs-a65d1a5a16734ec987ce2644d25b5156931cbd2a.tar.bz2
emacs-a65d1a5a16734ec987ce2644d25b5156931cbd2a.zip
Improve documentation of 'list-abbrevs'
* doc/emacs/abbrevs.texi (Editing Abbrevs): Describe how system abbrevs are shown by 'list-abbrevs'. Suggested by Shynur Xie <one.last.kiss@outlook.com>. (Bug#65907)
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/abbrevs.texi15
1 files changed, 10 insertions, 5 deletions
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)}