(defvar dired-aux-files)
-(defun minibuffer-default-add-dired-shell-commands ()
+(defun dired-minibuffer-default-add-shell-commands ()
"Return a list of all commands associated with current dired files.
This function is used to add all related commands retrieved by `mailcap'
to the end of the list of defaults just after the default value."
(lambda ()
(setq-local dired-aux-files files)
(setq-local minibuffer-default-add-function
- #'minibuffer-default-add-dired-shell-commands))
+ #'dired-minibuffer-default-add-shell-commands))
(setq prompt (format prompt (dired-mark-prompt arg files)))
(if (functionp 'dired-guess-shell-command)
(dired-mark-pop-up nil 'shell files
(setq model (vc-checkout-model backend only-files-list))))
(list backend files only-files-list state model)))
+(define-obsolete-function-alias 'minibuffer-default-add-dired-shell-commands
+ #'dired-minibuffer-default-add-shell-commands "29.1")
+
\f
(provide 'dired-aux)