diff options
| author | Glenn Morris | 2019-03-01 09:40:22 -0800 |
|---|---|---|
| committer | Glenn Morris | 2019-03-01 09:40:22 -0800 |
| commit | cf563dac1f4792b913ddf75f6c4323cab0def484 (patch) | |
| tree | e55e82bf4d800cc4c7b185a14928d0c271437826 /doc/lispref | |
| parent | b628699ad5ebda602a220a70b064b2a9e16c8bba (diff) | |
| parent | 9df1365f3838704e38f82c138175713a146a7164 (diff) | |
| download | emacs-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.texi | 10 |
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 |
| 1428 | major modes. These conventions are described below. The easiest way to | 1428 | major modes (@pxref{Major Modes}). These conventions are described below. The easiest way to |
| 1429 | follow them is to use the macro @code{define-minor-mode}. | 1429 | follow 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 |
| 1540 | well: those regarding the names of global symbols, the use of a hook at | 1540 | Conventions}) apply to minor modes as well: those regarding the names |
| 1541 | the end of the initialization function, and the use of keymaps and other | 1541 | of global symbols, the use of a hook at the end of the initialization |
| 1542 | tables. | 1542 | function, 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 |
| 1545 | Custom (@pxref{Customization}). To do this, the mode variable should be | 1545 | Custom (@pxref{Customization}). To do this, the mode variable should be |