]> git.eshelyaron.com Git - emacs.git/commitdiff
Rename comp-warning-on-missing-source
authorAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 13:00:00 +0000 (15:00 +0200)
committerAndrea Corallo <akrl@sdf.org>
Thu, 6 May 2021 15:16:09 +0000 (17:16 +0200)
* 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
src/comp.c
src/lread.c

index 2b00faa069d67f43c5efbe76ee0be46e79608178..434e0fb416567735e5154ac0c18cd1a8a6bc760c 100644 (file)
@@ -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."
index 9173dde220208b4ca030eaab54f00484b3534456..5cf94762a926e9b94aca6dae6c0ad3706034f452 100644 (file)
@@ -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");
index e53e1f65ab972da635d90fbbc82518ab0063936a..12e4ca66cdc88eda83ec95b9a1a2e39e72bb4959 100644 (file)
@@ -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,