[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] Changes to emacs/lisp/ChangeLog
From: |
Eli Zaretskii |
Subject: |
Re: [Emacs-diffs] Changes to emacs/lisp/ChangeLog |
Date: |
Mon, 1 Apr 2002 12:19:34 +0200 (IST) |
On Mon, 1 Apr 2002, Pavel =?iso-8859-2?q?Jan=EDk?= wrote:
> I think it would be much cleaner to:
>
> - Fprovide (intern ("sound"), Qnil) in sound.c when `play-sound' is defined
>
> - use (featurep 'sound) to check if `play-sound' is defined and if it is
> not, provide meaningful error message to the user telling him that his
> Emacs was compiled without sound support
Alternatively, rename Fplay_sound to Fplay_sound_internal, and provide a
Lisp function play-sound, defined on all platforms, that displays an
error message (or maybe silently does nothing) if play-sound-internal is
not fboundp.