aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichaël Cadilhac2007-09-10 09:41:13 +0000
committerMichaël Cadilhac2007-09-10 09:41:13 +0000
commit04724b6930ec6a906fd5a248632797bb56e0caa5 (patch)
treeab3bc8394fdf954fe16535bc772d94d701e10bc2 /src
parent4bca9161bdb6896aeee8a85c8a31f0f9fbd23c59 (diff)
downloademacs-04724b6930ec6a906fd5a248632797bb56e0caa5.tar.gz
emacs-04724b6930ec6a906fd5a248632797bb56e0caa5.zip
(Fcommandp): Change `->prompt' to `->intspec'.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/eval.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9dcbaa21fa5..19854387b6a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -3,6 +3,8 @@
3 * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. 3 * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'.
4 (DEFUN): Document `intspec', use it instead of `prompt'. 4 (DEFUN): Document `intspec', use it instead of `prompt'.
5 5
6 * eval.c (Fcommandp): Change `->prompt' to `->intspec'.
7
6 * callint.c (Fcall_interactively): Comment fixes. 8 * callint.c (Fcall_interactively): Comment fixes.
7 9
82007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> 102007-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/src/eval.c b/src/eval.c
index 830476a61bc..26332fa9dfb 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2078,7 +2078,7 @@ then strings and vectors are not accepted. */)
2078 /* Emacs primitives are interactive if their DEFUN specifies an 2078 /* Emacs primitives are interactive if their DEFUN specifies an
2079 interactive spec. */ 2079 interactive spec. */
2080 if (SUBRP (fun)) 2080 if (SUBRP (fun))
2081 return XSUBR (fun)->prompt ? Qt : if_prop; 2081 return XSUBR (fun)->intspec ? Qt : if_prop;
2082 2082
2083 /* Bytecode objects are interactive if they are long enough to 2083 /* Bytecode objects are interactive if they are long enough to
2084 have an element whose index is COMPILED_INTERACTIVE, which is 2084 have an element whose index is COMPILED_INTERACTIVE, which is