]> git.eshelyaron.com Git - emacs.git/commitdiff
Always define subr-native-elisp-p also without native compiler
authorAndrea Corallo <akrl@sdf.org>
Sun, 2 Feb 2020 21:24:03 +0000 (22:24 +0100)
committerAndrea Corallo <akrl@sdf.org>
Mon, 3 Feb 2020 12:01:34 +0000 (13:01 +0100)
src/data.c

index 8901ffbb2c3e4914696e3d4fca945bc07947c6a2..b7337b19bc61c9952cc67f24d507c08e5ee21701 100644 (file)
@@ -866,7 +866,6 @@ SUBR must be a built-in function.  */)
   return build_string (name);
 }
 
-#ifdef HAVE_NATIVE_COMP
 DEFUN ("subr-native-elisp-p", Fsubr_native_elisp_p, Ssubr_native_elisp_p, 1, 1,
        0, doc: /* Return t if the object is native compiled lisp function,
 nil otherwise.  */)
@@ -875,6 +874,7 @@ nil otherwise.  */)
   return SUBR_NATIVE_COMPILEDP (object) ? Qt : Qnil;
 }
 
+#ifdef HAVE_NATIVE_COMP
 DEFUN ("subr-native-comp-unit", Fsubr_native_comp_unit,
        Ssubr_native_comp_unit, 1, 1, 0,
        doc: /* Return the native compilation unit.  */)