summaryrefslogtreecommitdiff
path: root/modules/diff-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 20:20:17 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 20:20:17 -0500
commit2fd634e3db7d7b40da7293e55d33be2379fa556a (patch)
treee6996c6629032bcba66ee6e816e5040bd9b0b3f7 /modules/diff-config.el
parent06e1fb4260b868f0823bd3141f3920ec40a7e93a (diff)
downloaddotemacs-2fd634e3db7d7b40da7293e55d33be2379fa556a.tar.gz
dotemacs-2fd634e3db7d7b40da7293e55d33be2379fa556a.zip
fix(dwim-shell): make destructive file-op commands match their names
Two commands did less, or more, than their names implied. remove-empty-directories ran find . -type d -empty -delete from whatever the current directory happened to be, so its scope was implicit and easy to misjudge. It now prompts for a root, names that root in the confirmation, and runs find against the shell-quoted root via cj/dwim-shell--empty-dirs-command. secure-delete ran shred without -u, so it overwrote a file's contents but left the file in place, not the deletion the name and the "permanently destroy" prompt promise. Added -u so it unlinks after overwriting.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions