projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f16578
)
* lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar`
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 24 Oct 2022 18:25:02 +0000
(14:25 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 24 Oct 2022 18:25:02 +0000
(14:25 -0400)
This is not really a constant, e.g. it's modified in `grep.el`.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index 6473b5077855d14da36f5ea418466ee9bbb0a626..18c996e8997853ded5b4220c1546a27175ce9716 100644
(file)
--- 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)
-(def
const
compilation-mode-line-errors
+(def
var
compilation-mode-line-errors
'(" [" (:propertize (:eval (int-to-string compilation-num-errors-found))
face compilation-error
help-echo "Number of errors so far")