]> git.eshelyaron.com Git - emacs.git/commit
dired-dwim-target uses most recently visited window instead of next window.
authorJuri Linkov <juri@linkov.net>
Sat, 26 Oct 2019 23:20:15 +0000 (02:20 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 26 Oct 2019 23:20:15 +0000 (02:20 +0300)
commitc6667cc6a958e06fd43fb1ee0e80753adfefa49d
tree601b9860dbd0d6cc90e4ca809050c4bd511c575f
parent1660f5875c6022ba4f342a53efadfc4d2deb150a
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.
doc/emacs/dired.texi
etc/NEWS
lisp/dired-aux.el
lisp/dired.el
test/lisp/dired-tests.el