mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
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'.
This commit is contained in:
parent
595799edd3
commit
13ddfc2011
2 changed files with 12 additions and 2 deletions
|
|
@ -137,6 +137,12 @@
|
|||
"Emacs Lisp byte-compiler."
|
||||
:group 'lisp)
|
||||
|
||||
(defcustom compilation-safety 1
|
||||
"Safety level."
|
||||
:type 'integer
|
||||
:safe #'integerp
|
||||
:version "30.1")
|
||||
|
||||
(defcustom emacs-lisp-file-regexp "\\.el\\'"
|
||||
"Regexp which matches Emacs Lisp source files.
|
||||
If you change this, you might want to set `byte-compile-dest-file-function'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue