]> git.eshelyaron.com Git - emacs.git/commit
Ensure that specbind arg is always bare symbol, and drop check
authorMattias EngdegÄrd <mattiase@acm.org>
Thu, 18 Apr 2024 10:59:35 +0000 (12:59 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:07:04 +0000 (14:07 +0300)
commitc6dee2c64e5ca85da239ec36d4c6a996009b1033
treedce521b4765d598a98be8fbf93cd1fc467d34bfc
parent4705a0343c785920bb96fdfa1cad8ca0505bfc3d
Ensure that specbind arg is always bare symbol, and drop check

* src/eval.c (FletX, Flet, internal_lisp_condition_case)
(funcall_lambda): Ensure that the first argument to `specbind` is
a bare symbol in the few cases where this isn't statically guaranteed.
(specbind): Drop the symbol argument type check on the fast path.

(cherry picked from commit 0a57dfcff8d0abcf4427cfbfd886264bb3b8eaab)
src/eval.c