aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorGlenn Morris2019-03-01 09:40:22 -0800
committerGlenn Morris2019-03-01 09:40:22 -0800
commitcf563dac1f4792b913ddf75f6c4323cab0def484 (patch)
treee55e82bf4d800cc4c7b185a14928d0c271437826 /doc/lispref
parentb628699ad5ebda602a220a70b064b2a9e16c8bba (diff)
parent9df1365f3838704e38f82c138175713a146a7164 (diff)
downloademacs-cf563dac1f4792b913ddf75f6c4323cab0def484.tar.gz
emacs-cf563dac1f4792b913ddf75f6c4323cab0def484.zip
Merge from origin/emacs-26
9df1365 Fix a typo in the Calc manual f3dab02 Minor improvement in cross-references of the ELisp manual 560c84b Fix last change on 'compilation-parse-errors'
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/modes.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 6349dec98b8..22592a57b05 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1425,7 +1425,7 @@ The value of this variable is a list of all minor mode commands.
1425@cindex conventions for writing minor modes 1425@cindex conventions for writing minor modes
1426 1426
1427 There are conventions for writing minor modes just as there are for 1427 There are conventions for writing minor modes just as there are for
1428major modes. These conventions are described below. The easiest way to 1428major modes (@pxref{Major Modes}). These conventions are described below. The easiest way to
1429follow them is to use the macro @code{define-minor-mode}. 1429follow them is to use the macro @code{define-minor-mode}.
1430@xref{Defining Minor Modes}. 1430@xref{Defining Minor Modes}.
1431 1431
@@ -1536,10 +1536,10 @@ or like this, using @code{add-to-list} (@pxref{List Variables}):
1536@end smallexample 1536@end smallexample
1537@end itemize 1537@end itemize
1538 1538
1539 In addition, several major mode conventions apply to minor modes as 1539 In addition, several major mode conventions (@pxref{Major Mode
1540well: those regarding the names of global symbols, the use of a hook at 1540Conventions}) apply to minor modes as well: those regarding the names
1541the end of the initialization function, and the use of keymaps and other 1541of global symbols, the use of a hook at the end of the initialization
1542tables. 1542function, and the use of keymaps and other tables.
1543 1543
1544 The minor mode should, if possible, support enabling and disabling via 1544 The minor mode should, if possible, support enabling and disabling via
1545Custom (@pxref{Customization}). To do this, the mode variable should be 1545Custom (@pxref{Customization}). To do this, the mode variable should be