Subject: bug#48071: 28.0.50: dired-guess-default: comply with docstring options [PATCH]

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 20 Jul 2021 16:17:39 +0200

Boruch Baum <[email-masked]> writes:

> The docstring for dired-guess-default claims it should handle multiple
> instances of COMMAND each of which could be a STRING or a FUNCTION which
> evaluates to a STRING ...
>
> The attached patch does that. It also weeds out strings that don't represent
> valid programs on the host machine.

I don't think we want to do the latter because of Tramp considerations.

I've now changed dired-guess-default in a somewhat different way than
your patch suggested, but it's functionally similar.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no