diff etc/NEWS @ 106240:16d3ef458ae1

Provide additional default values (directories at other Dired windows) via M-n in the minibuffer of some Dired commands. * dired-aux.el (dired-diff, dired-compare-directories) (dired-do-create-files): Use `dired-dwim-target-defaults' to set `minibuffer-default' in `minibuffer-with-setup-hook'. (dired-dwim-target-directory): Find a window that displays Dired buffer instead of failing when the next window is not Dired. Use `get-window-with-predicate' to find for the next Dired window. (dired-dwim-target-defaults): New function. * ediff-util.el (ediff-read-file-name): Use `dired-dwim-target-defaults' to set `minibuffer-default' in `minibuffer-with-setup-hook'.
author Juri Linkov <juri@jurta.org>
date Wed, 25 Nov 2009 17:15:19 +0000
parents 0ac473df1bd1
children 20e6e5b85a34
line wrap: on
line diff
--- a/etc/NEWS	Wed Nov 25 17:11:29 2009 +0000
+++ b/etc/NEWS	Wed Nov 25 17:15:19 2009 +0000
@@ -152,7 +152,9 @@
 
 ** M-n provides more default values in the minibuffer of commands that
 read a file and directory name: a file name at point (when ffap is loaded
-without ffap-bindings), a file name on the current line in the Dired buffer.
+without ffap-bindings), a file name on the current line in the Dired buffer,
+a directory name of adjacent Dired windows for Dired commands that can
+operate on several directories (copy, rename, diff).
 
 ** M-r is bound to the new `move-to-window-line-top-bottom'
 to mirror the new behavior of C-l in Emacs-23.1.