[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 f3dab02: Minor improvement in cross-references of
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 f3dab02: Minor improvement in cross-references of the ELisp manual |
Date: |
Fri, 1 Mar 2019 05:27:27 -0500 (EST) |
branch: emacs-26
commit f3dab022324504309cca331b324cb6fed8b5a67c
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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)
---
doc/lispref/modes.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 26cb028..1343024 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.
@cindex conventions for writing minor modes
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}.
@xref{Defining Minor Modes}.
@@ -1516,10 +1516,10 @@ or like this, using @code{add-to-list} (@pxref{List
Variables}):
@end smallexample
@end itemize
- In addition, several major mode conventions apply to minor modes as
-well: those regarding the names of global symbols, the use of a hook at
-the end of the initialization function, and the use of keymaps and other
-tables.
+ In addition, several major mode conventions (@pxref{Major Mode
+Conventions}) apply to minor modes as well: those regarding the names
+of global symbols, the use of a hook at the end of the initialization
+function, and the use of keymaps and other tables.
The minor mode should, if possible, support enabling and disabling via
Custom (@pxref{Customization}). To do this, the mode variable should be
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 f3dab02: Minor improvement in cross-references of the ELisp manual,
Eli Zaretskii <=