aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorAndrea Corallo2019-12-19 11:06:38 +0100
committerAndrea Corallo2020-01-01 11:38:13 +0100
commitb3cbdfc86474932e4ef8d1237ed100a6f4f4c854 (patch)
tree000694222e8dbb47e9385e47669269007df24836 /src/data.c
parenta647a97320e72db275a05961ae09e487ee3063e2 (diff)
downloademacs-b3cbdfc86474932e4ef8d1237ed100a6f4f4c854.tar.gz
emacs-b3cbdfc86474932e4ef8d1237ed100a6f4f4c854.zip
add basic compilation unit into structure
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c
index 67613881d67..0a13569bc6d 100644
--- a/src/data.c
+++ b/src/data.c
@@ -870,7 +870,7 @@ DEFUN ("subr-native-elisp-p", Fsubr_native_elisp_p, Ssubr_native_elisp_p, 1, 1,
870nil otherwise. */) 870nil otherwise. */)
871 (Lisp_Object object) 871 (Lisp_Object object)
872{ 872{
873 return (SUBRP (object) && XSUBR (object)->native_elisp) ? Qt : Qnil; 873 return (SUBRP (object) && XSUBR (object)->native_comp_u) ? Qt : Qnil;
874} 874}
875#endif 875#endif
876 876
@@ -900,7 +900,7 @@ Value, if non-nil, is a list (interactive SPEC). */)
900 if (SUBRP (fun)) 900 if (SUBRP (fun))
901 { 901 {
902#ifdef HAVE_NATIVE_COMP 902#ifdef HAVE_NATIVE_COMP
903 if (XSUBR (fun)->native_elisp && XSUBR (fun)->native_intspec) 903 if (XSUBR (fun)->native_comp_u && XSUBR (fun)->native_intspec)
904 return XSUBR (fun)->native_intspec; 904 return XSUBR (fun)->native_intspec;
905#endif 905#endif
906 const char *spec = XSUBR (fun)->intspec; 906 const char *spec = XSUBR (fun)->intspec;