Function: minibuffer-default-add-dired-shell-commands

minibuffer-default-add-dired-shell-commands is an interactive and byte-compiled function defined in dired-aux.el.gz.

Signature

(minibuffer-default-add-dired-shell-commands)

Documentation

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.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defun minibuffer-default-add-dired-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."
  (interactive)
  (let ((commands (and (boundp 'dired-aux-files)
		       (require 'mailcap nil t)
		       (mailcap-file-default-commands dired-aux-files))))
    (if (listp minibuffer-default)
	(append minibuffer-default commands)
      (cons minibuffer-default commands))))