summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-10-24 14:25:02 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-10-24 14:25:02 -0400
commit9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3 (patch)
treee7ce3a9874140b4673d5d59602fbe866b96a5817 /lisp/progmodes/compile.el
parent8f16578c45fc1d23aacecdb48111f816088c7b83 (diff)
downloademacs-9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3.tar.gz
emacs-9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3.tar.bz2
emacs-9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3.zip
* lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar`
This is not really a constant, e.g. it's modified in `grep.el`.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
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")