diff options
author | Tassilo Horn <tsdh@gnu.org> | 2021-06-04 21:58:11 +0200 |
---|---|---|
committer | Tassilo Horn <tsdh@gnu.org> | 2021-06-04 21:58:11 +0200 |
commit | 7b50ed553faa6de6d51bf07d12d106ca61ab3ac4 (patch) | |
tree | ba6c9f52f8ccc8f9db8bedacde5e00858b4a73b7 /lisp/emacs-lisp/cl-preloaded.el | |
parent | 4c362b4ef7db64e896b8a9fa5f2b93ff793dee17 (diff) | |
download | emacs-7b50ed553faa6de6d51bf07d12d106ca61ab3ac4.tar.gz emacs-7b50ed553faa6de6d51bf07d12d106ca61ab3ac4.tar.bz2 emacs-7b50ed553faa6de6d51bf07d12d106ca61ab3ac4.zip |
Ask if dir and subdir dired buffers be killed when deleting dir
Previously, when you've had dired buffers
~/foo/
~/foo/bar/
~/foo/bar/baz/
and then deleted ~/foo/, dired (with dired-clean-up-buffers-too set to
non-nil) would only ask to delete the dired buffer of ~/foo/. Now it
will offer to delete all three buffers.
* lisp/dired.el (dired-buffers-for-dir): Add optional argument SUBDIRS
which makes the function return also dired buffers showing a subdir of
DIR.
(dired-in-this-tree-p): Make obsolete in favor of file-in-directory-p
which actually does what the name suggest whereas dired-in-this-tree-p
is just string-matching on filenames which will fail with symlinks
filenames including ./ or ../.
Diffstat (limited to 'lisp/emacs-lisp/cl-preloaded.el')
0 files changed, 0 insertions, 0 deletions