diff options
| author | Andrea Corallo | 2020-09-21 21:45:02 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-09-21 21:45:02 +0200 |
| commit | 5a8be1719a80031ea3833749b1e82de8d5a39787 (patch) | |
| tree | 1f3cb774fd9e222b7d4f2f426695e7894ee7b297 /src/eval.c | |
| parent | 5b41545f1be367837d9ac717ea67fba19a4c24d4 (diff) | |
| parent | fb68645b5a258c98acc11efdc3caae80683cc6b0 (diff) | |
| download | emacs-5a8be1719a80031ea3833749b1e82de8d5a39787.tar.gz emacs-5a8be1719a80031ea3833749b1e82de8d5a39787.zip | |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c index 71b7ac8f84e..9e0cec6d9e5 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -2012,6 +2012,15 @@ then strings and vectors are not accepted. */) | |||
| 2012 | else if (COMPILEDP (fun)) | 2012 | else if (COMPILEDP (fun)) |
| 2013 | return (PVSIZE (fun) > COMPILED_INTERACTIVE ? Qt : if_prop); | 2013 | return (PVSIZE (fun) > COMPILED_INTERACTIVE ? Qt : if_prop); |
| 2014 | 2014 | ||
| 2015 | #ifdef HAVE_MODULES | ||
| 2016 | /* Module functions are interactive if their `interactive_form' | ||
| 2017 | field is non-nil. */ | ||
| 2018 | else if (MODULE_FUNCTIONP (fun)) | ||
| 2019 | return NILP (module_function_interactive_form (XMODULE_FUNCTION (fun))) | ||
| 2020 | ? if_prop | ||
| 2021 | : Qt; | ||
| 2022 | #endif | ||
| 2023 | |||
| 2015 | /* Strings and vectors are keyboard macros. */ | 2024 | /* Strings and vectors are keyboard macros. */ |
| 2016 | if (STRINGP (fun) || VECTORP (fun)) | 2025 | if (STRINGP (fun) || VECTORP (fun)) |
| 2017 | return (NILP (for_call_interactively) ? Qt : Qnil); | 2026 | return (NILP (for_call_interactively) ? Qt : Qnil); |