From 9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 24 Oct 2022 14:25:02 -0400 Subject: [PATCH] * lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar` This is not really a constant, e.g. it's modified in `grep.el`. --- lisp/progmodes/compile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 6473b507785..18c996e8997 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -175,7 +175,7 @@ and a string describing how the process finished.") (defvar compilation-num-warnings-found 0) (defvar compilation-num-infos-found 0) -(defconst compilation-mode-line-errors +(defvar compilation-mode-line-errors '(" [" (:propertize (:eval (int-to-string compilation-num-errors-found)) face compilation-error help-echo "Number of errors so far") -- 2.39.5