diff options
author | Juri Linkov <[email protected]> | 2009-02-22 23:38:04 +0000 |
---|---|---|
committer | Juri Linkov <[email protected]> | 2009-02-22 23:38:04 +0000 |
commit | b8f908b3a47e085fb28c4ace9e62b30a64bbbe73 (patch) | |
tree | 324540ef1fb0cbe087c1a23cf79e53077b332d19 /lisp | |
parent | c521381a6cb6fc03358a2e2a3a15ddceea0272ec (diff) |
(minibuffer-default-add-dired-shell-commands): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 12 | ||||
-rw-r--r-- | lisp/dired-aux.el | 4 |
2 files changed, 13 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f25c0064d..cd1776997e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,19 @@ 2009-02-22 Juri Linkov <[email protected]> + * dired-aux.el (minibuffer-default-add-dired-shell-commands): + Doc fix. + + * dired-x.el (dired-guess-shell-command): Use read-shell-command + instead of read-from-minibuffer. + (dired-read-shell-command): Add code that uses + minibuffer-with-setup-hook to set minibuffer-default-add-function + to minibuffer-default-add-dired-shell-commands exactly like + `dired-read-shell-command' in dired-aux.el already does. Doc fix. + * dired-x.el (dired-smart-shell-command): Remove code that uses minibuffer-with-setup-hook to set minibuffer-default-add-function to minibuffer-default-add-shell-commands because the same code was - already moved to `read-shell-command' 2008-07-31. + already moved to `read-shell-command' 2008-07-31. (Bug#2414) 2009-02-21 Jay Belanger <[email protected]> diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 9d34d9542d..95aaa38831 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -476,8 +476,8 @@ with a prefix argument." (declare-function mailcap-file-default-commands "mailcap" (files)) (defun minibuffer-default-add-dired-shell-commands () - "Return a list of all commands associted with current dired files. -This function is used to add all related commands retieved by `mailcap' + "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 'files) (require 'mailcap nil t) |