[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31148: 26.1; require w32 errors
From: |
Alex Branham |
Subject: |
bug#31148: 26.1; require w32 errors |
Date: |
Fri, 13 Apr 2018 10:15:59 -0500 |
User-agent: |
mu4e 1.0; emacs 26.1 |
On Fri 13 Apr 2018 at 10:13, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Alex Branham <alex.branham@gmail.com>
>> Date: Fri, 13 Apr 2018 09:50:47 -0500
>>
>> If you try
>>
>> (require 'w32-fns)
>>
>> or
>>
>> (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-...))
- bug#31148: 26.1; require w32 errors, Alex Branham, 2018/04/13
- bug#31148: 26.1; require w32 errors, Eli Zaretskii, 2018/04/13
- bug#31148: 26.1; require w32 errors,
Alex Branham <=
- bug#31148: 26.1; require w32 errors, Eli Zaretskii, 2018/04/13
- bug#31148: 26.1; require w32 errors, Alex Branham, 2018/04/13
- bug#31148: 26.1; require w32 errors, Eli Zaretskii, 2018/04/13
- bug#31148: 26.1; require w32 errors, Alex Branham, 2018/04/13
- bug#31148: 26.1; require w32 errors, Eli Zaretskii, 2018/04/13
bug#31148: Close, Alex Branham, 2018/04/13
bug#31148: 26.1; require w32 errors, Noam Postavsky, 2018/04/14