summaryrefslogtreecommitdiff
path: root/src/callint.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-07-11 14:18:02 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-07-11 14:18:02 +0000
commitaed13378308fae471bf2c11870a456e457166c31 (patch)
tree89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/callint.c
parente20b31732ad01d8de7605ea740525dedc3dbdb90 (diff)
downloademacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/callint.c')
-rw-r--r--src/callint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callint.c b/src/callint.c
index 3eca790c6df..4bb5cd57ccf 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -198,7 +198,7 @@ supply if the command inquires which events were used to invoke it. */)
Lisp_Object specs;
Lisp_Object teml;
Lisp_Object enable;
- int speccount = specpdl_ptr - specpdl;
+ int speccount = SPECPDL_INDEX ();
/* The index of the next element of this_command_keys to examine for
the 'e' interactive code. */
@@ -541,7 +541,7 @@ supply if the command inquires which events were used to invoke it. */)
case 'k': /* Key sequence. */
{
- int speccount1 = specpdl_ptr - specpdl;
+ int speccount1 = SPECPDL_INDEX ();
specbind (Qcursor_in_echo_area, Qt);
args[i] = Fread_key_sequence (build_string (callint_message),
Qnil, Qnil, Qnil, Qnil);
@@ -569,7 +569,7 @@ supply if the command inquires which events were used to invoke it. */)
case 'K': /* Key sequence to be defined. */
{
- int speccount1 = specpdl_ptr - specpdl;
+ int speccount1 = SPECPDL_INDEX ();
specbind (Qcursor_in_echo_area, Qt);
args[i] = Fread_key_sequence (build_string (callint_message),
Qnil, Qt, Qnil, Qnil);