From: Philipp Stephani Date: Sat, 16 Oct 2021 09:46:49 +0000 (+0200) Subject: Improve documentation string for 'compilation-error-regexp-alist'. X-Git-Tag: emacs-28.0.90~278 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21397cce51dc3f9b6e9b0e7a5cc877b63efa8dd4;p=emacs.git Improve documentation string for 'compilation-error-regexp-alist'. * lisp/progmodes/compile.el (compilation-error-regexp-alist): Clarify behavior when TYPE is a cons cell. --- diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 73f98068110..ac26f5e9341 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -662,7 +662,8 @@ has just been matched, and should correspondingly preserve this match data. TYPE is 2 or nil for a real error or 1 for warning or 0 for info. TYPE can also be of the form (WARNING . INFO). In that case this will be equivalent to 1 if the WARNING'th subexpression matched -or else equivalent to 0 if the INFO'th subexpression matched. +or else equivalent to 0 if the INFO'th subexpression matched, +or else equivalent to 2 if neither of them matched. See `compilation-error-face', `compilation-warning-face', `compilation-info-face' and `compilation-skip-threshold'.