]> git.eshelyaron.com Git - emacs.git/commit
Introduce 'compilation-safety' variable
authorAndrea Corallo <acorallo@gnu.org>
Fri, 3 May 2024 20:21:20 +0000 (22:21 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 16 May 2024 08:18:51 +0000 (10:18 +0200)
commit20e25be0dee8f69a7b1f15752f549004f361ab04
tree49e7d614b141ee307f2c5de8fbd646a288ef2cab
parent36cb710fb623c095f1f5bbc6d726f07c58fcb4ee
Introduce 'compilation-safety' variable

* lisp/emacs-lisp/bytecomp.el (compilation-safety): New customize.
* src/comp.c (comp_t): Add func_safety.
(emit_call_with_type_hint, emit_call2_with_type_hint): Make use of.
(compile_function): Set 'comp.func_safety'.

(cherry picked from commit 13ddfc201108bfc71c7fa9040ee9970e929070cf)
lisp/emacs-lisp/bytecomp.el
src/comp.c