[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 901ce56 15/16: Rename comp-warning-on-missing-source
From: |
Andrea Corallo |
Subject: |
master 901ce56 15/16: Rename comp-warning-on-missing-source |
Date: |
Thu, 6 May 2021 11:16:26 -0400 (EDT) |
branch: master
commit 901ce566037b27233b907a51a9cbd330c77830ba
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
Rename comp-warning-on-missing-source
* src/lread.c (maybe_swap_for_eln): Rename
comp-warning-on-missing-source →
native-comp-warning-on-missing-source.
* src/comp.c (syms_of_comp): Likewise.
* lisp/emacs-lisp/comp.el (native-comp-warning-on-missing-source):
Likewise.
---
lisp/emacs-lisp/comp.el | 2 +-
src/comp.c | 3 ++-
src/lread.c | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 2b00faa..434e0fb 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -178,7 +178,7 @@ the .eln output directory."
:type 'boolean
:version "28.1")
-(defcustom comp-warning-on-missing-source t
+(defcustom native-comp-warning-on-missing-source t
"Emit a warning if a byte-code file being loaded has no corresponding source.
The source file is necessary for native code file look-up and deferred
compilation mechanism."
diff --git a/src/comp.c b/src/comp.c
index 9173dde..5cf9476 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -5272,7 +5272,8 @@ compiled one. */);
DEFSYM (Qlambda_fixup, "lambda-fixup");
DEFSYM (Qgccjit, "gccjit");
DEFSYM (Qcomp_subr_trampoline_install, "comp-subr-trampoline-install");
- DEFSYM (Qcomp_warning_on_missing_source, "comp-warning-on-missing-source");
+ DEFSYM (Qnative_comp_warning_on_missing_source,
+ "native-comp-warning-on-missing-source");
/* To be signaled by the compiler. */
DEFSYM (Qnative_compiler_error, "native-compiler-error");
diff --git a/src/lread.c b/src/lread.c
index e53e1f6..12e4ca6 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1708,7 +1708,8 @@ maybe_swap_for_eln (bool no_native, Lisp_Object
*filename, int *fd,
src_name = concat2 (src_name, build_string (".gz"));
if (NILP (Ffile_exists_p (src_name)))
{
- if (!NILP (find_symbol_value (Qcomp_warning_on_missing_source)))
+ if (!NILP (find_symbol_value (
+ Qnative_comp_warning_on_missing_source)))
call2 (intern_c_string ("display-warning"),
Qcomp,
CALLN (Fformat,
- master 31ca1c3 07/16: Rename comp-never-optimize-functions → native-comp-never-optimize-functions, (continued)
- master 31ca1c3 07/16: Rename comp-never-optimize-functions → native-comp-never-optimize-functions, Andrea Corallo, 2021/05/06
- master 4e01605 11/16: * Rename comp-async-env-modifier-form → native-comp-async-env-modifier-form, Andrea Corallo, 2021/05/06
- master 419852a 13/16: * Rename comp-async-query-on-exit → native-comp-async-query-on-exit, Andrea Corallo, 2021/05/06
- master c90129c 12/16: * Rename comp-async-report-warnings-errors, Andrea Corallo, 2021/05/06
- master 94c69eb 03/16: Rename comp-debug -> native-comp-debug, Andrea Corallo, 2021/05/06
- master e73186a 09/16: * Rename comp-async-cu-done-functions → native-comp-async-cu-done-functions, Andrea Corallo, 2021/05/06
- master d8f84a1 08/16: * Rename comp-async-jobs-number → native-comp-async-jobs-number, Andrea Corallo, 2021/05/06
- master 6efd788 04/16: * Rename comp-verbose -> native-comp-verbose, Andrea Corallo, 2021/05/06
- master 4e063bf 10/16: * Rename comp-async-all-done-hook → native-comp-async-all-done-hook, Andrea Corallo, 2021/05/06
- master 85b61c0 06/16: Rename comp-bootstrap-deny-list → native-comp-bootstrap-deny-list, Andrea Corallo, 2021/05/06
- master 901ce56 15/16: Rename comp-warning-on-missing-source,
Andrea Corallo <=
- master 8c429a4 14/16: Rename comp-native-driver-options → native-comp-driver-options, Andrea Corallo, 2021/05/06
- master fbbcbed 16/16: Rename comp-eln-load-path → native-comp-eln-load-path, Andrea Corallo, 2021/05/06