bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Boruch Baum
Subject: bug#48071: 28.0.50: dired-guess-default: comply with docstring options [PATCH]
Date: Tue, 27 Apr 2021 14:53:40 -0400
User-agent: NeoMutt/20180716

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.

It turned out that function dired-guess-shell-command wasn't ready for
the multiple responses, so the patch corrects that as well.

My package diredc has an additional feature of an option for a universal
fall-back. My memory is that the emacs developers rejected the idea when
I originally proposed it, so it's not in this patch.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

Attachment: dired-guess-default.patch
Description: Text Data


reply via email to

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