mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; 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:
parent
3d7041834f
commit
dfe68f2a42
1 changed files with 17 additions and 0 deletions
|
|
@ -39,6 +39,23 @@
|
||||||
(require 'warnings)
|
(require 'warnings)
|
||||||
(require 'comp-cstr)
|
(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
|
(defgroup comp nil
|
||||||
"Emacs Lisp native compiler."
|
"Emacs Lisp native compiler."
|
||||||
:group 'lisp)
|
:group 'lisp)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue