diff options
| -rw-r--r-- | doc/lispref/modes.texi | 10 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 2 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 2 |
3 files changed, 7 insertions, 7 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 |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index 5c5ef59e923..ca322f21720 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -1775,7 +1775,7 @@ evaluated first, then @samp{*}, then @samp{/}, then finally | |||
| 1775 | is equivalent to | 1775 | is equivalent to |
| 1776 | 1776 | ||
| 1777 | @example | 1777 | @example |
| 1778 | 2 + ((3*4*5) / (6*(7^8)) - 9 | 1778 | 2 + ((3*4*5) / (6*(7^8))) - 9 |
| 1779 | @end example | 1779 | @end example |
| 1780 | 1780 | ||
| 1781 | @noindent | 1781 | @noindent |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index c3ff57633a3..b3f32c82316 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1404,7 +1404,7 @@ to `compilation-error-regexp-alist' if RULES is nil." | |||
| 1404 | (let ((this-type (if (consp type) | 1404 | (let ((this-type (if (consp type) |
| 1405 | (compilation-type type) | 1405 | (compilation-type type) |
| 1406 | (or type 2)))) | 1406 | (or type 2)))) |
| 1407 | (compilation--note-type type) | 1407 | (compilation--note-type this-type) |
| 1408 | 1408 | ||
| 1409 | (compilation--put-prop | 1409 | (compilation--put-prop |
| 1410 | file 'font-lock-face | 1410 | file 'font-lock-face |