]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/compile.el (compilation-mode-line-errors): Use `defvar`
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 24 Oct 2022 18:25:02 +0000 (14:25 -0400)
committerStefan 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

index 6473b5077855d14da36f5ea418466ee9bbb0a626..18c996e8997853ded5b4220c1546a27175ce9716 100644 (file)
@@ -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")