From 1a7de17e5b599661d7cc205bd63f982ca24bab9f Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 2 Apr 2007 09:21:26 +0000 Subject: (Fprin1_to_string): Use macro SPECPDL_INDEX. --- src/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/print.c') diff --git a/src/print.c b/src/print.c index 4110ef32407..533d0a82cc4 100644 --- a/src/print.c +++ b/src/print.c @@ -796,7 +796,7 @@ A printed representation of an object is text which describes that object. */) 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); -- cgit v1.2.3