aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorChong Yidong2009-03-24 16:37:25 +0000
committerChong Yidong2009-03-24 16:37:25 +0000
commit2b9aa051bc4fc6546dab187b37841827ec9ac965 (patch)
tree373749a169cdec09a97734b87b7659fbacaa4b54 /src/eval.c
parent3860280a574122953887e1a05018ae83d7df69e5 (diff)
downloademacs-2b9aa051bc4fc6546dab187b37841827ec9ac965.tar.gz
emacs-2b9aa051bc4fc6546dab187b37841827ec9ac965.zip
(Fcommandp): Use Qinteractive_form.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index a16576ceaaa..fb1ed276c42 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -97,6 +97,7 @@ Lisp_Object Qand_rest, Qand_optional;
97Lisp_Object Qdebug_on_error; 97Lisp_Object Qdebug_on_error;
98Lisp_Object Qdeclare; 98Lisp_Object Qdeclare;
99Lisp_Object Qdebug; 99Lisp_Object Qdebug;
100extern Lisp_Object Qinteractive_form;
100 101
101/* This holds either the symbol `run-hooks' or nil. 102/* This holds either the symbol `run-hooks' or nil.
102 It is nil at an early stage of startup, and when Emacs 103 It is nil at an early stage of startup, and when Emacs
@@ -2084,7 +2085,7 @@ then strings and vectors are not accepted. */)
2084 fun = function; 2085 fun = function;
2085 while (SYMBOLP (fun)) 2086 while (SYMBOLP (fun))
2086 { 2087 {
2087 Lisp_Object tmp = Fget (fun, intern ("interactive-form")); 2088 Lisp_Object tmp = Fget (fun, Qinteractive_form);
2088 if (!NILP (tmp)) 2089 if (!NILP (tmp))
2089 if_prop = Qt; 2090 if_prop = Qt;
2090 fun = Fsymbol_function (fun); 2091 fun = Fsymbol_function (fun);