summaryrefslogtreecommitdiff
path: root/etc/NEWS
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2023-11-27 19:32:10 +0200
committerJuri Linkov <juri@linkov.net>2023-11-27 19:32:10 +0200
commitb8d4242e8bdbdb6ca364bf0760e50689f6a6e118 (patch)
tree5c00bf3cab3553a23e8148d33f7f4a976aa8aee6 /etc/NEWS
parentd15084c822e6815dde348dd0dd8175b9694f9f12 (diff)
downloademacs-b8d4242e8bdbdb6ca364bf0760e50689f6a6e118.tar.gz
New user option 'shell-command-guess-functions' (bug#18132)
* lisp/dired-aux.el (dired-minibuffer-default-add-shell-commands): Remove function since now mailcap commands are available by shell-command-guess-mailcap for shell-command-guess used by dired-guess-shell-command. (dired-read-shell-command): Don't set minibuffer-default-add-function to dired-minibuffer-default-add-shell-commands. (dired-guess-shell-command): Replace dired-guess-default with shell-command-guess. (shell-command-guess-functions): New defcustom. (shell-command-guess, shell-command-guess-dired) (shell-command-guess-mailcap, shell-command-guess-xdg): New functions. * lisp/simple.el (minibuffer-default-add-shell-commands): Use 'shell-command-guess' instead of requiring 'mailcap' with 'mailcap-file-default-commands'. Remove 'interactive'.
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index fd633fa..6661ac7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -503,6 +503,12 @@ hidden and an ellipsis is displayed instead. A value of 'window'
means using the right edge of window as the display restriction. The
default is nil.
+*** New user option 'shell-command-guess-functions'.
+It defines how to populate a list of commands available
+for 'M-!', 'M-&', '!', '&' based on marked files in Dired.
+Possible backends are 'dired-guess-default', MIME types,
+XDG configuration.
+
** Ediff
---