projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2923d
)
compile.el: Fix regression with nb of errors in modeline
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 15 Dec 2022 18:36:14 +0000
(13:36 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Thu, 15 Dec 2022 18:36:14 +0000
(13:36 -0500)
* lisp/progmodes/compile.el (compilation-mode-line-errors): Mark it as
risky-local, like `defconst` used to do for us.
lisp/progmodes/compile.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/compile.el
b/lisp/progmodes/compile.el
index e8ada9388e1869a024113ae3b7f4b16dcb4d8b21..319dc97e6999226ab56db962e4e0b31aeb988c7b 100644
(file)
--- 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.