aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2019-10-27 02:20:15 +0300
committerJuri Linkov2019-10-27 02:20:15 +0300
commitc6667cc6a958e06fd43fb1ee0e80753adfefa49d (patch)
tree601b9860dbd0d6cc90e4ca809050c4bd511c575f /etc
parent1660f5875c6022ba4f342a53efadfc4d2deb150a (diff)
downloademacs-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/NEWS16
1 files changed, 9 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ba874961329..bfcb7cf3255 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
811pipes, block devices and character devices. 811pipes, 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
816directories in the destination.
817
818+++
819*** The non-nil value of 'dired-dwim-target' uses one of the most recently
820visited 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.
1367The maximum level is used by default; customize 1376The 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
1375directories in the destination.
1376
1377** Help 1379** Help
1378 1380
1379--- 1381---