From: Stefan Monnier Date: Mon, 24 Oct 2022 18:25:02 +0000 (-0400) Subject: * lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar` X-Git-Tag: emacs-29.0.90~1616^2~481 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3;p=emacs.git * lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar` This is not really a constant, e.g. it's modified in `grep.el`. --- 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")