diff options
| author | Andrea Corallo | 2019-12-07 18:19:00 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:38:12 +0100 |
| commit | a248dfe2c3341ed73de38c2feea64ec12f053aaa (patch) | |
| tree | 7b0f352051a5cfcfe889e4b8d654edfc68ba1a5e /src/data.c | |
| parent | 48f5530e7922e4c46db1c4ab82b1c3532db724c9 (diff) | |
| download | emacs-a248dfe2c3341ed73de38c2feea64ec12f053aaa.tar.gz emacs-a248dfe2c3341ed73de38c2feea64ec12f053aaa.zip | |
native compile interactive functions support
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, |