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'
This commit is contained in:
Glenn Morris 2019-03-01 09:40:22 -08:00
commit cf563dac1f
3 changed files with 7 additions and 7 deletions

View file

@ -1425,7 +1425,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}.
@ -1536,10 +1536,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

View file

@ -1775,7 +1775,7 @@ evaluated first, then @samp{*}, then @samp{/}, then finally
is equivalent to
@example
2 + ((3*4*5) / (6*(7^8)) - 9
2 + ((3*4*5) / (6*(7^8))) - 9
@end example
@noindent

View file

@ -1404,7 +1404,7 @@ to `compilation-error-regexp-alist' if RULES is nil."
(let ((this-type (if (consp type)
(compilation-type type)
(or type 2))))
(compilation--note-type type)
(compilation--note-type this-type)
(compilation--put-prop
file 'font-lock-face