(minibuffer-default-add-dired-shell-commands): Doc fix.
authorJuri Linkov <juri@jurta.org>
Sun, 22 Feb 2009 23:38:04 +0000 (23:38 +0000)
committerJuri Linkov <juri@jurta.org>
Sun, 22 Feb 2009 23:38:04 +0000 (23:38 +0000)
lisp/ChangeLog
lisp/dired-aux.el

index 7f25c00..cd17769 100644 (file)
@@ -1,9 +1,19 @@
 2009-02-22  Juri Linkov  <juri@jurta.org>
 
+       * 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  <jay.p.belanger@gmail.com>
 
index 9d34d95..95aaa38 100644 (file)
@@ -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)