summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/map-ynp.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2021-06-04 21:58:11 +0200
committerTassilo Horn <tsdh@gnu.org>2021-06-04 21:58:11 +0200
commit7b50ed553faa6de6d51bf07d12d106ca61ab3ac4 (patch)
treeba6c9f52f8ccc8f9db8bedacde5e00858b4a73b7 /lisp/emacs-lisp/map-ynp.el
parent4c362b4ef7db64e896b8a9fa5f2b93ff793dee17 (diff)
downloademacs-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/map-ynp.el')
0 files changed, 0 insertions, 0 deletions