aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 191fb313687..8901ffbb2c3 100644
--- a/src/data.c
+++ b/src/data.c
@@ -919,7 +919,7 @@ Value, if non-nil, is a list (interactive SPEC). */)
919 919
920 if (SUBRP (fun)) 920 if (SUBRP (fun))
921 { 921 {
922 if (SUBR_NATIVE_COMPILEDP (fun) && XSUBR (fun)->native_intspec) 922 if (SUBR_NATIVE_COMPILEDP (fun) && !NILP (XSUBR (fun)->native_intspec))
923 return XSUBR (fun)->native_intspec; 923 return XSUBR (fun)->native_intspec;
924 924
925 const char *spec = XSUBR (fun)->intspec; 925 const char *spec = XSUBR (fun)->intspec;