Commit cf563dac authored by Glenn Morris's avatar Glenn Morris

Merge from origin/emacs-26

9df1365f Fix a typo in the Calc manual
f3dab022 Minor improvement in cross-references of the ELisp manual
560c84b6 Fix last change on 'compilation-parse-errors'
parents b628699a 9df1365f
......@@ -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
......
......@@ -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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment