diff options
| author | Juri Linkov | 2023-11-27 19:32:10 +0200 |
|---|---|---|
| committer | Juri Linkov | 2023-11-27 19:32:10 +0200 |
| commit | b8d4242e8bdbdb6ca364bf0760e50689f6a6e118 (patch) | |
| tree | 5c00bf3cab3553a23e8148d33f7f4a976aa8aee6 /java/org | |
| parent | d15084c822e6815dde348dd0dd8175b9694f9f12 (diff) | |
| download | emacs-b8d4242e8bdbdb6ca364bf0760e50689f6a6e118.tar.gz emacs-b8d4242e8bdbdb6ca364bf0760e50689f6a6e118.zip | |
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 'java/org')
0 files changed, 0 insertions, 0 deletions