summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-08-03 19:08:39 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2024-08-03 19:32:23 +0200
commite50d597f4508c6ef333c5616a2a924360437ba55 (patch)
tree59a27ba996f5839962268d9e336bdb2520a50980 /lisp/emacs-lisp/lisp-mode.el
parent8d073823c61017c581a18853c89ec84432018d60 (diff)
downloademacs-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