X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/90de50e27049ae19492dd9843e50618ea4ed5d14..2bfa3d3e1fb347ba76bddf77f3e288049635821d:/src/sound.c diff --git a/src/sound.c b/src/sound.c index 7046f4e8e3..ad51c73446 100644 --- a/src/sound.c +++ b/src/sound.c @@ -1302,7 +1302,7 @@ Internal use only, use `play-sound' instead. */) (Lisp_Object sound) { Lisp_Object attrs[SOUND_ATTR_SENTINEL]; - ptrdiff_t count = SPECPDL_INDEX (); + dynwind_begin (); #ifndef WINDOWSNT Lisp_Object file; @@ -1412,7 +1412,7 @@ Internal use only, use `play-sound' instead. */) #endif /* WINDOWSNT */ - unbind_to (count, Qnil); + dynwind_end (); return Qnil; } @@ -1423,12 +1423,12 @@ Internal use only, use `play-sound' instead. */) void syms_of_sound (void) { +#include "sound.x" + DEFSYM (QCdevice, ":device"); DEFSYM (QCvolume, ":volume"); DEFSYM (Qsound, "sound"); DEFSYM (Qplay_sound_functions, "play-sound-functions"); - - defsubr (&Splay_sound_internal); } #endif /* HAVE_SOUND */