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, 2 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index ffca7e75355..27b642df286 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1045,6 +1045,8 @@ The value, if non-nil, is a list of mode name symbols. */)
1045 1045
1046 if (COMPILEDP (fun)) 1046 if (COMPILEDP (fun))
1047 { 1047 {
1048 if (PVSIZE (fun) <= COMPILED_INTERACTIVE)
1049 return Qnil;
1048 Lisp_Object form = AREF (fun, COMPILED_INTERACTIVE); 1050 Lisp_Object form = AREF (fun, COMPILED_INTERACTIVE);
1049 if (VECTORP (form)) 1051 if (VECTORP (form))
1050 /* New form -- the second element is the command modes. */ 1052 /* New form -- the second element is the command modes. */