summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-macs-tests.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-05-09 22:30:52 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2023-05-09 22:30:52 -0400
commit93005cd9dc2bab882e66ac7b81f593cd6c021e43 (patch)
tree9e8e6e74b2e89db33921957ab8cc27e96cba05c3 /test/lisp/emacs-lisp/cl-macs-tests.el
parent6924c81a6d223e62465a8c584c6b0d777afa354b (diff)
downloademacs-93005cd9dc2bab882e66ac7b81f593cd6c021e43.tar.gz
emacs-93005cd9dc2bab882e66ac7b81f593cd6c021e43.tar.bz2
emacs-93005cd9dc2bab882e66ac7b81f593cd6c021e43.zip
with-display-message: Workaround for bug#63253
Running arbitrary ELisp code from an atimer is still dangerous, at least because the regexp engine is not-reentrant, so let's patch up the case we bumped into. There are probably many other such holes :-( * src/alloc.c (garbage_collection_inhibited): Make it non-static. * src/xdisp.c (garbage_collection_inhibited): Declare it. (set_message, clear_message): Use it as a proxy for "we're in a dangerous context like within `probably_quit`".
Diffstat (limited to 'test/lisp/emacs-lisp/cl-macs-tests.el')
0 files changed, 0 insertions, 0 deletions