diff options
| author | Eli Zaretskii | 2019-03-01 12:25:40 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-03-01 12:25:40 +0200 |
| commit | f3dab022324504309cca331b324cb6fed8b5a67c (patch) | |
| tree | 17d5ee235180963e24747d5307171fb5c73c84f3 | |
| parent | 560c84b62b346e1ce6edc0a334cdbfaa37de7884 (diff) | |
| download | emacs-f3dab022324504309cca331b324cb6fed8b5a67c.tar.gz emacs-f3dab022324504309cca331b324cb6fed8b5a67c.zip | |
Minor improvement in cross-references of the ELisp manual
* doc/lispref/modes.texi (Minor Mode Conventions): Add
cross-references to related major-mode descriptions. (Bug#34678)
| -rw-r--r-- | doc/lispref/modes.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 26cb028d26c..13430243298 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1405,7 +1405,7 @@ The value of this variable is a list of all minor mode commands. | |||
| 1405 | @cindex conventions for writing minor modes | 1405 | @cindex conventions for writing minor modes |
| 1406 | 1406 | ||
| 1407 | There are conventions for writing minor modes just as there are for | 1407 | There are conventions for writing minor modes just as there are for |
| 1408 | major modes. These conventions are described below. The easiest way to | 1408 | major modes (@pxref{Major Modes}). These conventions are described below. The easiest way to |
| 1409 | follow them is to use the macro @code{define-minor-mode}. | 1409 | follow them is to use the macro @code{define-minor-mode}. |
| 1410 | @xref{Defining Minor Modes}. | 1410 | @xref{Defining Minor Modes}. |
| 1411 | 1411 | ||
| @@ -1516,10 +1516,10 @@ or like this, using @code{add-to-list} (@pxref{List Variables}): | |||
| 1516 | @end smallexample | 1516 | @end smallexample |
| 1517 | @end itemize | 1517 | @end itemize |
| 1518 | 1518 | ||
| 1519 | In addition, several major mode conventions apply to minor modes as | 1519 | In addition, several major mode conventions (@pxref{Major Mode |
| 1520 | well: those regarding the names of global symbols, the use of a hook at | 1520 | Conventions}) apply to minor modes as well: those regarding the names |
| 1521 | the end of the initialization function, and the use of keymaps and other | 1521 | of global symbols, the use of a hook at the end of the initialization |
| 1522 | tables. | 1522 | function, and the use of keymaps and other tables. |
| 1523 | 1523 | ||
| 1524 | The minor mode should, if possible, support enabling and disabling via | 1524 | The minor mode should, if possible, support enabling and disabling via |
| 1525 | Custom (@pxref{Customization}). To do this, the mode variable should be | 1525 | Custom (@pxref{Customization}). To do this, the mode variable should be |