From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] Changes to emacs/lisp/ChangeLog Date: Mon, 1 Apr 2002 12:19:34 +0200 (IST) Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1017653640 29080 127.0.0.1 (1 Apr 2002 09:34:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 1 Apr 2002 09:34:00 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16ryCO-0007Yv-00 for ; Mon, 01 Apr 2002 11:34:00 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16ryNX-0007OG-00 for ; Mon, 01 Apr 2002 11:45:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16ryBS-00011Z-00; Mon, 01 Apr 2002 04:33:02 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16ry0E-00073p-00; Mon, 01 Apr 2002 04:21:26 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id MAA23040; Mon, 1 Apr 2002 12:19:34 +0200 (IST) X-Sender: eliz@is Original-To: Pavel =?iso-8859-2?q?Jan=EDk?= In-Reply-To: Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2300 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2300 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.