From: Juri Linkov Date: Sun, 22 Feb 2009 23:38:04 +0000 (+0000) Subject: (minibuffer-default-add-dired-shell-commands): Doc fix. X-Git-Tag: emacs-pretest-23.0.91~65 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8f908b3a47e085fb28c4ace9e62b30a64bbbe73;p=emacs.git (minibuffer-default-add-dired-shell-commands): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f25c0064d8..cd1776997ed 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,9 +1,19 @@ 2009-02-22 Juri Linkov + * 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 diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 9d34d9542dc..95aaa388310 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)