diff options
| author | Juri Linkov | 2019-10-27 02:20:15 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-10-27 02:20:15 +0300 |
| commit | c6667cc6a958e06fd43fb1ee0e80753adfefa49d (patch) | |
| tree | 601b9860dbd0d6cc90e4ca809050c4bd511c575f /etc | |
| parent | 1660f5875c6022ba4f342a53efadfc4d2deb150a (diff) | |
| download | emacs-c6667cc6a958e06fd43fb1ee0e80753adfefa49d.tar.gz emacs-c6667cc6a958e06fd43fb1ee0e80753adfefa49d.zip | |
dired-dwim-target uses most recently visited window instead of next window.
* doc/emacs/dired.texi (Operating on Files): Document behavior change.
* lisp/dired-aux.el (dired-dwim-target-directories): New function.
(dired-dwim-target-directory, dired-dwim-target-defaults): Use it
to get the most recently used window instead of the next window (bug#35385).
* lisp/dired.el (dired-dwim-target): Doc fix.
* test/lisp/dired-tests.el: Remove unnecessary require and pacify
byte-compiler.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 9 insertions, 7 deletions
| @@ -810,6 +810,15 @@ command itself, not how many files are marked in total. | |||
| 810 | *** A new face, 'dired-special', is used to highlight sockets, named | 810 | *** A new face, 'dired-special', is used to highlight sockets, named |
| 811 | pipes, block devices and character devices. | 811 | pipes, block devices and character devices. |
| 812 | 812 | ||
| 813 | +++ | ||
| 814 | *** The new user option 'dired-create-destination-dirs' controls whether | ||
| 815 | 'dired-do-copy' and 'dired-rename-file' should create non-existent | ||
| 816 | directories in the destination. | ||
| 817 | |||
| 818 | +++ | ||
| 819 | *** The non-nil value of 'dired-dwim-target' uses one of the most recently | ||
| 820 | visited windows with a Dired buffer instead of the next window. | ||
| 821 | |||
| 813 | ** Find-Dired | 822 | ** Find-Dired |
| 814 | 823 | ||
| 815 | *** New user option 'find-dired-refine-function'. | 824 | *** New user option 'find-dired-refine-function'. |
| @@ -1367,13 +1376,6 @@ unescaping text. | |||
| 1367 | The maximum level is used by default; customize | 1376 | The maximum level is used by default; customize |
| 1368 | 'font-lock-maximum-decoration' to tone down the decoration. | 1377 | 'font-lock-maximum-decoration' to tone down the decoration. |
| 1369 | 1378 | ||
| 1370 | ** Dired | ||
| 1371 | |||
| 1372 | +++ | ||
| 1373 | *** The new user option 'dired-create-destination-dirs' controls whether | ||
| 1374 | 'dired-do-copy' and 'dired-rename-file' should create non-existent | ||
| 1375 | directories in the destination. | ||
| 1376 | |||
| 1377 | ** Help | 1379 | ** Help |
| 1378 | 1380 | ||
| 1379 | --- | 1381 | --- |