summaryrefslogtreecommitdiff
path: root/src/sound.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
commit35da5de83a23c84136042b2defa0c4dc674d0b83 (patch)
tree4a38165bfe0a4adf6dba54e13be08d92d3a2df7e /src/sound.c
parentf3d5f10675ec7d01c94639e671352a96f9286cff (diff)
downloademacs-35da5de83a23c84136042b2defa0c4dc674d0b83.tar.gz
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/sound.c')
-rw-r--r--src/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.c b/src/sound.c
index 4504e7e6ee1..90fe5f524c7 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -402,7 +402,7 @@ Internal use only, use `play-sound' instead. */)
struct sound_device sd;
struct sound s;
Lisp_Object args[2];
- int count = specpdl_ptr - specpdl;
+ int count = SPECPDL_INDEX ();
file = Qnil;
GCPRO2 (sound, file);