[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp ffa59bb 2/2: Always define subr-native-elisp-p also
From: |
Andrea Corallo |
Subject: |
feature/native-comp ffa59bb 2/2: Always define subr-native-elisp-p also without native compiler |
Date: |
Mon, 3 Feb 2020 08:42:54 -0500 (EST) |
branch: feature/native-comp
commit ffa59bb1611609879151b6dfa94772f9e2144849
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>
Always define subr-native-elisp-p also without native compiler
---
src/data.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/data.c b/src/data.c
index 8901ffb..b7337b1 100644
--- a/src/data.c
+++ b/src/data.c
@@ -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. */)