emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 26243f7b65: compile.el: Fix regression with nb of errors in mod


From: Stefan Monnier
Subject: emacs-29 26243f7b65: compile.el: Fix regression with nb of errors in modeline
Date: Thu, 15 Dec 2022 13:36:27 -0500 (EST)

branch: emacs-29
commit 26243f7b65e015a1676ed7f4a8a8e712ed7d6193
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    compile.el: Fix regression with nb of errors in modeline
    
    * lisp/progmodes/compile.el (compilation-mode-line-errors): Mark it as
    risky-local, like `defconst` used to do for us.
---
 lisp/progmodes/compile.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index e8ada9388e..319dc97e69 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -186,6 +186,7 @@ and a string describing how the process finished.")
                      face compilation-info
                      help-echo "Number of informational messages so far")
     "]"))
+(put 'compilation-mode-line-errors 'risky-local-variable t)
 
 ;; If you make any changes to `compilation-error-regexp-alist-alist',
 ;; be sure to run the ERT test in test/lisp/progmodes/compile-tests.el.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]