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)
This commit is contained in:
parent
560c84b62b
commit
f3dab02232
1 changed files with 5 additions and 5 deletions
|
@ -1405,7 +1405,7 @@ The value of this variable is a list of all minor mode commands.
|
||||||
@cindex conventions for writing minor modes
|
@cindex conventions for writing minor modes
|
||||||
|
|
||||||
There are conventions for writing minor modes just as there are for
|
There are conventions for writing minor modes just as there are for
|
||||||
major modes. These conventions are described below. The easiest way to
|
major modes (@pxref{Major Modes}). These conventions are described below. The easiest way to
|
||||||
follow them is to use the macro @code{define-minor-mode}.
|
follow them is to use the macro @code{define-minor-mode}.
|
||||||
@xref{Defining Minor Modes}.
|
@xref{Defining Minor Modes}.
|
||||||
|
|
||||||
|
@ -1516,10 +1516,10 @@ or like this, using @code{add-to-list} (@pxref{List Variables}):
|
||||||
@end smallexample
|
@end smallexample
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
In addition, several major mode conventions apply to minor modes as
|
In addition, several major mode conventions (@pxref{Major Mode
|
||||||
well: those regarding the names of global symbols, the use of a hook at
|
Conventions}) apply to minor modes as well: those regarding the names
|
||||||
the end of the initialization function, and the use of keymaps and other
|
of global symbols, the use of a hook at the end of the initialization
|
||||||
tables.
|
function, and the use of keymaps and other tables.
|
||||||
|
|
||||||
The minor mode should, if possible, support enabling and disabling via
|
The minor mode should, if possible, support enabling and disabling via
|
||||||
Custom (@pxref{Customization}). To do this, the mode variable should be
|
Custom (@pxref{Customization}). To do this, the mode variable should be
|
||||||
|
|
Loading…
Add table
Reference in a new issue