* lisp/progmodes/compile.el (compilation-filter): Use font-lock-ensure
to update the number of errors in compilation-mode-line-errors displayed in the mode-line. (Bug#36564)
to update the number of errors in compilation-mode-line-errors displayed in the mode-line. (Bug#36564)