]> git.eshelyaron.com Git - emacs.git/commit
Add new user option to avoid piling on Dired buffers
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 13 Jul 2021 17:49:50 +0000 (19:49 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 13 Jul 2021 17:49:50 +0000 (19:49 +0200)
commit5afe27624f7168713611dc9c24043091f8f820b6
tree7de990872177c7abd5d274d5990ac1f7986eb513
parent7a803ecd3d455999cfc9266fa219d58109fac786
Add new user option to avoid piling on Dired buffers

* doc/emacs/dired.texi (Dired Visiting): Document it.

* lisp/dired.el (dired-kill-when-opening-new-dired-buffer): New
user option (bug#20598).
(dired-up-directory, dired-find-file): Use it.
(dired--find-possibly-alternative-file): New convenience command
to respect the user option.
doc/emacs/dired.texi
etc/NEWS
lisp/dired.el