GNU bug report logs - #31148
26.1; require w32 errors

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Fri, 13 Apr 2018 14:52:01 UTC

Severity: normal

Merged with 6997, 32157

Found in versions 24.0.50, 26.1

Fixed in version 27.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 31148 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 31148 <at> debbugs.gnu.org
Subject: Re: bug#31148: 26.1; require w32 errors
Date: Fri, 13 Apr 2018 20:22:41 +0300
> From: Alex Branham <alex.branham <at> gmail.com>
> Cc: 31148 <at> debbugs.gnu.org
> Date: Fri, 13 Apr 2018 10:15:59 -0500
> 
> >> (require 'w32-fns nil t)
> >>
> >> It produces an error void-function set-message-beep. This is reproducible for me from emacs -q.
> >
> > Don't do that, then, unless you are in a w32 Emacs.
> 
> What's the recommended way for packages to rely on these functions then?
> It seems annoying to wrap every call to w32-functions in
> (if (fboundp ...) (w32-...))

I don't understand the question.  w32-fns.el is preloaded on
MS-Windows, so packages that rely on some function from there can
simply call them.

IOW, why would you want to 'require' w32-fns?




This bug report was last modified 6 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.