aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorStefan Monnier2023-12-25 23:55:53 -0500
committerStefan Monnier2024-01-04 16:35:53 -0500
commita5dcc1abea32abc906abfb66599c280b01d6ba27 (patch)
tree3ca6ad0f3dfd9df39d3c1788c648013b4076fd59 /admin/notes/java
parent604e34338f3b5a31439020c6704f9f9d07d17d69 (diff)
downloademacs-a5dcc1abea32abc906abfb66599c280b01d6ba27.tar.gz
emacs-a5dcc1abea32abc906abfb66599c280b01d6ba27.zip
(macroexp--with-extended-form-stack): Use plain `let`
`macroexp--with-extended-form-stack` used manual push/pop so that upon non-local exits the "deeper" value is kept, so the error handler gets to know what was the deeper value, so as to be able to compute more precise error locations. Replace this with a `handler-bind` which catches that "deeper" value more explicitly. * lisp/emacs-lisp/bytecomp.el (bytecomp--displaying-warnings): Use `handler-bind` to catch the value of `byte-compile-form-stack` at the time of the error. Also consolidate the duplicated code. * lisp/emacs-lisp/macroexp.el (macroexp--with-extended-form-stack): Use a plain dynbound let-rebinding.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions