[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 9bfe00dda6: * lisp/progmodes/compile.el (compilation-mode-line-er
From: |
Stefan Monnier |
Subject: |
master 9bfe00dda6: * lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar` |
Date: |
Mon, 24 Oct 2022 14:25:07 -0400 (EDT) |
branch: master
commit 9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* 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 6473b50778..18c996e899 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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 9bfe00dda6: * lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar`,
Stefan Monnier <=