Eli Zaretskii <e...@gnu.org> writes:

>> Cc: 73...@debbugs.gnu.org
>> Date: Thu, 05 Sep 2024 15:48:12 +0200
>> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> > And is xdg-open reliably available on BSD systems, so that we don't
>> > generate an opaque error message if that is not the case?
>> 
>> I think it would work whether xdg-open is install or not because
>> `shell-command-guess-open' is defined by testing the presence of
>> xdg-open.  So if xdg-open is not installed, `command' in the code above
>> will be nil and nothing will happen.
>
> Then why do we need to condition this by system-type at all?
Yes I wondered this too.  The current "otherwise" clause is an error
message but it could be this `call-process' instead.
-- 
Manuel Giraud



  • bug#73004:... Bug reports for GNU Emacs, the Swiss army knife of text editors
    • bug#7... Philip Kaludercic
      • b... Bug reports for GNU Emacs, the Swiss army knife of text editors
        • ... Eli Zaretskii
          • ... Philip Kaludercic
            • ... Juri Linkov
              • ... Bug reports for GNU Emacs, the Swiss army knife of text editors
          • ... Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply via email to