This is necessary for 'shell-command-guess' after removing autoload cookie
since declare-function doesn't autoload it.
(let* ((filename (if (listp minibuffer-default)
(car minibuffer-default)
minibuffer-default))
- (commands (and filename (shell-command-guess (list filename)))))
+ (commands (and filename (require 'dired-aux)
+ (shell-command-guess (list filename)))))
(setq commands (mapcar (lambda (command)
(concat command " " filename))
commands))