From d0f745f67ac36b4acc452deaa3a63d36c1c580a7 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Tue, 16 Apr 2019 18:07:31 +0200 Subject: [PATCH] Document some compilation-mode faces * doc/emacs/building.texi (Compilation Mode): Describe faces available to affect appearance of compilation-mode buffers. --- doc/emacs/building.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 7ce62498b8e..31acfc827bf 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi @@ -151,6 +151,20 @@ with the mouse (@pxref{Mouse References}), to visit the @dfn{locus} of the error message in a separate window. The locus is the specific position in a file where that error occurred. +@cindex compilation mode faces +@vindex compilation-error +@vindex compilation-warning + The appearance of the @file{*compilation*} buffer can be controlled +by customizing the faces which are used to highlight parts of the +@file{*compilation*} buffer, e.g., @code{compilation-error} or +@code{compilation-warning}, for error and warning messages +respectively. Note that since those faces inherit from the +@code{error} and @code{warning} faces, it is also possible to +customize the parent face directly instead. + + Use @w{@kbd{M-x customize-group RET compilation}} to see the entire +list of customization variables and faces. + @findex compile-goto-error @vindex compilation-auto-jump-to-first-error If you change the variable -- 2.39.2