Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
106239:0ac473df1bd1 | 106240:16d3ef458ae1 |
---|---|
150 ** Completions in the *Completions* buffer are sorted vertically | 150 ** Completions in the *Completions* buffer are sorted vertically |
151 when the value of the new variable `completions-format' is `vertical'. | 151 when the value of the new variable `completions-format' is `vertical'. |
152 | 152 |
153 ** M-n provides more default values in the minibuffer of commands that | 153 ** M-n provides more default values in the minibuffer of commands that |
154 read a file and directory name: a file name at point (when ffap is loaded | 154 read a file and directory name: a file name at point (when ffap is loaded |
155 without ffap-bindings), a file name on the current line in the Dired buffer. | 155 without ffap-bindings), a file name on the current line in the Dired buffer, |
156 a directory name of adjacent Dired windows for Dired commands that can | |
157 operate on several directories (copy, rename, diff). | |
156 | 158 |
157 ** M-r is bound to the new `move-to-window-line-top-bottom' | 159 ** M-r is bound to the new `move-to-window-line-top-bottom' |
158 to mirror the new behavior of C-l in Emacs-23.1. | 160 to mirror the new behavior of C-l in Emacs-23.1. |
159 | 161 |
160 | 162 |