From 20d17df3f4ffc0214cf86f49ed4dc35810bafd7d Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 12 May 2026 18:42:42 +0300 Subject: [PATCH] Use the new 'margin' face in Flymake (bug#80693) * lisp/progmodes/flymake.el (flymake--bs-display): Use the 'margin' face when it's available. --- lisp/progmodes/flymake.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index f62f9f5ce3c..823aa4fe673 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -2428,7 +2428,10 @@ symbol `fringes' or the symbol `margins'." `((margin ,flymake-margin-indicator-position) ,(propertize indicator-car - 'face `(:inherit (,(cdr valuelist) default)) + 'face `(:inherit (,(cdr valuelist) + ,(if (facep 'margin) + 'margin + 'default))) 'mouse-face 'highlight 'help-echo "Open Flymake diagnostics" 'keymap (let ((map (make-sparse-keymap)))