aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorJuanma Barranquero2002-07-11 14:18:02 +0000
committerJuanma Barranquero2002-07-11 14:18:02 +0000
commitaed13378308fae471bf2c11870a456e457166c31 (patch)
tree89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/alloc.c
parente20b31732ad01d8de7605ea740525dedc3dbdb90 (diff)
downloademacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz
emacs-aed13378308fae471bf2c11870a456e457166c31.zip
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index e89981c4545..50de0a217c6 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4020,7 +4020,7 @@ struct backtrace
4020int 4020int
4021inhibit_garbage_collection () 4021inhibit_garbage_collection ()
4022{ 4022{
4023 int count = specpdl_ptr - specpdl; 4023 int count = SPECPDL_INDEX ();
4024 int nbits = min (VALBITS, BITS_PER_INT); 4024 int nbits = min (VALBITS, BITS_PER_INT);
4025 4025
4026 specbind (Qgc_cons_threshold, make_number (((EMACS_INT) 1 << (nbits - 1)) - 1)); 4026 specbind (Qgc_cons_threshold, make_number (((EMACS_INT) 1 << (nbits - 1)) - 1));