[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating dired-guess-shell-alist-default

From: Philip K.
Subject: Re: Updating dired-guess-shell-alist-default
Date: Sat, 11 Jul 2020 13:07:31 +0200

Eli Zaretskii <eliz@gnu.org> writes:

>> +(defcustom dired-guess-default-media-command
>> +  (cond ((eq system-type 'windows-nt)   "start")
>> +        ((eq system-type 'darwin)       "open")
>> +        ((executable-find "xdg-open")   "xdg-open"))
>> +  "Default command to use for opening media files."
>> +  :type '(choice (const :tag "No default command" nil)
>> +                 (string :tag "Command"))
>> +  :version "28.1")
> I think for MS-Windows this should use w32-shell-execute with
> OPERATION set to "open".

I don't have access to a Windows machine, but from asking a friend who
tested it, start should do the equivalent of open/xdg-open. What would
the reason be to prefer w32-shell-execute over "start"?

        Philip K.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]