; Fix byte-compiler warnings in comp.el
* lisp/emacs-lisp/comp.el: Declare functions and variables defined in comp.c, to avoid byte-compiler warnings. (Bug#65250)
This commit is contained in:
@@ -39,6 +39,23 @@
|
||||
(require 'warnings)
|
||||
(require 'comp-cstr)
|
||||
|
||||
;; These variables and functions are defined in comp.c
|
||||
(defvar native-comp-enable-subr-trampolines)
|
||||
(defvar comp-installed-trampolines-h)
|
||||
(defvar comp-subr-arities-h)
|
||||
(defvar native-comp-eln-load-path)
|
||||
(defvar comp-native-version-dir)
|
||||
(defvar comp-deferred-pending-h)
|
||||
(defvar comp--no-native-compile)
|
||||
|
||||
(declare-function comp-el-to-eln-rel-filename "comp.c")
|
||||
(declare-function native-elisp-load "comp.c")
|
||||
(declare-function comp--release-ctxt "comp.c")
|
||||
(declare-function comp--init-ctxt "comp.c")
|
||||
(declare-function comp--compile-ctxt-to-file "comp.c")
|
||||
(declare-function comp-el-to-eln-filename "comp.c")
|
||||
(declare-function comp--install-trampoline "comp.c")
|
||||
|
||||
(defgroup comp nil
|
||||
"Emacs Lisp native compiler."
|
||||
:group 'lisp)
|
||||
|
||||
Reference in New Issue
Block a user