aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuanma Barranquero2002-07-11 15:24:13 +0000
committerJuanma Barranquero2002-07-11 15:24:13 +0000
commit65b21658119ab3b1ffab17f38709db33bcba2185 (patch)
treec926e04d33f6c4bd5c1ae2e48ff79d691f08b895 /src
parent89297f2344234055f62a1013b26450613ecf8964 (diff)
downloademacs-65b21658119ab3b1ffab17f38709db33bcba2185.tar.gz
emacs-65b21658119ab3b1ffab17f38709db33bcba2185.zip
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src')
-rw-r--r--src/macros.c2
-rw-r--r--src/xfns.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.c b/src/macros.c
index 82e305f8df3..5f6d83b52d6 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -284,7 +284,7 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop. */)
284{ 284{
285 Lisp_Object final; 285 Lisp_Object final;
286 Lisp_Object tem; 286 Lisp_Object tem;
287 int pdlcount = specpdl_ptr - specpdl; 287 int pdlcount = SPECPDL_INDEX ();
288 int repeat = 1; 288 int repeat = 1;
289 struct gcpro gcpro1; 289 struct gcpro gcpro1;
290 int success_count = 0; 290 int success_count = 0;
diff --git a/src/xfns.c b/src/xfns.c
index 912a2ceeb05..920b3b13a38 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -11605,7 +11605,7 @@ selection dialog's entry field, if MUSTMATCH is non-nil. */)
11605 int ac = 0; 11605 int ac = 0;
11606 extern XtAppContext Xt_app_con; 11606 extern XtAppContext Xt_app_con;
11607 XmString dir_xmstring, pattern_xmstring; 11607 XmString dir_xmstring, pattern_xmstring;
11608 int count = specpdl_ptr - specpdl; 11608 int count = SPECPDL_INDEX ();
11609 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; 11609 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5;
11610 11610
11611 GCPRO5 (prompt, dir, default_filename, mustmatch, file); 11611 GCPRO5 (prompt, dir, default_filename, mustmatch, file);