changeset 76894:2bce89da14ed

(Fprin1_to_string): Use macro SPECPDL_INDEX.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 02 Apr 2007 09:16:36 +0000
parents 15bef7790716
children d9865e1c3c0d
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Mon Apr 02 04:31:30 2007 +0000
+++ b/src/print.c	Mon Apr 02 09:16:36 2007 +0000
@@ -796,7 +796,7 @@
   Lisp_Object printcharfun;
   /* struct gcpro gcpro1, gcpro2; */
   Lisp_Object save_deactivate_mark;
-  int count = specpdl_ptr - specpdl;
+  int count = SPECPDL_INDEX ();
   struct buffer *previous;
 
   specbind (Qinhibit_modification_hooks, Qt);