diff options
| author | Eli Zaretskii | 2018-11-23 12:16:48 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-11-23 12:16:48 +0200 |
| commit | 8f0c7887ef7dc8f25326d6476fa025e13caa1981 (patch) | |
| tree | a58740748e50ea0ae222361d342a6912d0962038 | |
| parent | 3c643e73b276acaa33759af5eea5feebf2c00339 (diff) | |
| download | emacs-8f0c7887ef7dc8f25326d6476fa025e13caa1981.tar.gz emacs-8f0c7887ef7dc8f25326d6476fa025e13caa1981.zip | |
Improve documentation of 'edit-abbrevs-mode'
* lisp/abbrev.el (edit-abbrevs-mode): Refer to 'edit-abbrevs'
for more detailed usage information. (Bug#33443)
(edit-abbrevs): Doc fix.
| -rw-r--r-- | lisp/abbrev.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 734cefbb7be..f0fc59f31e8 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el | |||
| @@ -150,11 +150,12 @@ Otherwise display all abbrevs." | |||
| 150 | (defun edit-abbrevs () | 150 | (defun edit-abbrevs () |
| 151 | "Alter abbrev definitions by editing a list of them. | 151 | "Alter abbrev definitions by editing a list of them. |
| 152 | Selects a buffer containing a list of abbrev definitions with | 152 | Selects a buffer containing a list of abbrev definitions with |
| 153 | point located in the abbrev table of current buffer. | 153 | point located in the abbrev table for the current buffer, and |
| 154 | turns on `edit-abbrevs-mode' in that buffer. | ||
| 154 | You can edit them and type \\<edit-abbrevs-map>\\[edit-abbrevs-redefine] to redefine abbrevs | 155 | You can edit them and type \\<edit-abbrevs-map>\\[edit-abbrevs-redefine] to redefine abbrevs |
| 155 | according to your editing. | 156 | according to your editing. |
| 156 | Buffer contains a header line for each abbrev table, | 157 | The abbrevs editing buffer contains a header line for each |
| 157 | which is the abbrev table name in parentheses. | 158 | abbrev table, which is the abbrev table name in parentheses. |
| 158 | This is followed by one line per abbrev in that table: | 159 | This is followed by one line per abbrev in that table: |
| 159 | NAME USECOUNT EXPANSION HOOK | 160 | NAME USECOUNT EXPANSION HOOK |
| 160 | where NAME and EXPANSION are strings with quotes, | 161 | where NAME and EXPANSION are strings with quotes, |
| @@ -1022,7 +1023,9 @@ SORTFUN is passed to `sort' to change the default ordering." | |||
| 1022 | ;; Keep it after define-abbrev-table, since define-derived-mode uses | 1023 | ;; Keep it after define-abbrev-table, since define-derived-mode uses |
| 1023 | ;; define-abbrev-table. | 1024 | ;; define-abbrev-table. |
| 1024 | (define-derived-mode edit-abbrevs-mode fundamental-mode "Edit-Abbrevs" | 1025 | (define-derived-mode edit-abbrevs-mode fundamental-mode "Edit-Abbrevs" |
| 1025 | "Major mode for editing the list of abbrev definitions.") | 1026 | "Major mode for editing the list of abbrev definitions. |
| 1027 | This mode is for editing abbrevs in a buffer prepared by `edit-abbrevs', | ||
| 1028 | which see.") | ||
| 1026 | 1029 | ||
| 1027 | (provide 'abbrev) | 1030 | (provide 'abbrev) |
| 1028 | 1031 | ||