diff options
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 126ee2e9555..fdc3cd1e9f4 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1948,6 +1948,13 @@ then strings and vectors are not accepted. */) | |||
| 1948 | else if (COMPILEDP (fun)) | 1948 | else if (COMPILEDP (fun)) |
| 1949 | return (PVSIZE (fun) > COMPILED_INTERACTIVE ? Qt : if_prop); | 1949 | return (PVSIZE (fun) > COMPILED_INTERACTIVE ? Qt : if_prop); |
| 1950 | 1950 | ||
| 1951 | /* Module functions are interactive if their `interactive_form' | ||
| 1952 | field is non-nil. */ | ||
| 1953 | else if (MODULE_FUNCTIONP (fun)) | ||
| 1954 | return NILP (module_function_interactive_form (XMODULE_FUNCTION (fun))) | ||
| 1955 | ? if_prop | ||
| 1956 | : Qt; | ||
| 1957 | |||
| 1951 | /* Strings and vectors are keyboard macros. */ | 1958 | /* Strings and vectors are keyboard macros. */ |
| 1952 | if (STRINGP (fun) || VECTORP (fun)) | 1959 | if (STRINGP (fun) || VECTORP (fun)) |
| 1953 | return (NILP (for_call_interactively) ? Qt : Qnil); | 1960 | return (NILP (for_call_interactively) ? Qt : Qnil); |