diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c index 50dce9e4644..67613881d67 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -899,6 +899,10 @@ Value, if non-nil, is a list (interactive SPEC). */) | |||
| 899 | 899 | ||
| 900 | if (SUBRP (fun)) | 900 | if (SUBRP (fun)) |
| 901 | { | 901 | { |
| 902 | #ifdef HAVE_NATIVE_COMP | ||
| 903 | if (XSUBR (fun)->native_elisp && XSUBR (fun)->native_intspec) | ||
| 904 | return XSUBR (fun)->native_intspec; | ||
| 905 | #endif | ||
| 902 | const char *spec = XSUBR (fun)->intspec; | 906 | const char *spec = XSUBR (fun)->intspec; |
| 903 | if (spec) | 907 | if (spec) |
| 904 | return list2 (Qinteractive, | 908 | return list2 (Qinteractive, |