Commit 04724b69 authored by Michaël Cadilhac's avatar Michaël Cadilhac
Browse files

(Fcommandp): Change `->prompt' to `->intspec'.

parent 4bca9161
......@@ -3,6 +3,8 @@
* lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'.
(DEFUN): Document `intspec', use it instead of `prompt'.
* eval.c (Fcommandp): Change `->prompt' to `->intspec'.
* callint.c (Fcall_interactively): Comment fixes.
2007-09-10 Stefan Monnier <>
......@@ -2078,7 +2078,7 @@ then strings and vectors are not accepted. */)
/* Emacs primitives are interactive if their DEFUN specifies an
interactive spec. */
if (SUBRP (fun))
return XSUBR (fun)->prompt ? Qt : if_prop;
return XSUBR (fun)->intspec ? Qt : if_prop;
/* Bytecode objects are interactive if they are long enough to
have an element whose index is COMPILED_INTERACTIVE, which is
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment