Commit 5a323218 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(play-sound): Rearrange to avoid warning.

parent 2ae12bb0
......@@ -2657,9 +2657,9 @@ don't change the volume setting of the sound device.
:device DEVICE - play sound on DEVICE. If not specified,
a system-dependent default device name is used."
(unless (fboundp 'play-sound-internal)
(error "This Emacs binary lacks sound support"))
(play-sound-internal sound))
(if (fboundp 'play-sound-internal)
(play-sound-internal sound)
(error "This Emacs binary lacks sound support")))
(defun define-mail-user-agent (symbol composefunc sendfunc
&optional abortfunc hookvar)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment