diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2024-08-03 19:08:39 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2024-08-03 19:32:23 +0200 |
commit | e50d597f4508c6ef333c5616a2a924360437ba55 (patch) | |
tree | 59a27ba996f5839962268d9e336bdb2520a50980 /lisp/emacs-lisp/lisp-mode.el | |
parent | 8d073823c61017c581a18853c89ec84432018d60 (diff) | |
download | emacs-e50d597f4508c6ef333c5616a2a924360437ba55.tar.gz emacs-e50d597f4508c6ef333c5616a2a924360437ba55.tar.bz2 emacs-e50d597f4508c6ef333c5616a2a924360437ba55.zip |
Fix missing type checks before specbind
This fixes bugs that crashed Emacs when the Lisp interpreter was fed
bad code.
* src/eval.c (FletX, Flet, internal_lisp_condition_case)
(funcall_lambda): Hoist symbol-with-pos elimination and type checks to a
dominating position for efficiency. This also plugs at least two typing
holes. (Mea culpa.)
* test/src/eval-tests.el (eval-bad-specbind): New regression test.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions