aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/face_coverage.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-01 22:14:07 -0400
committerCraig Jennings <c@cjennings.net>2026-07-01 22:14:07 -0400
commite18cf02e22049ad3cc4ce96059edc37a5ecb6719 (patch)
treede2d6f1f3eb3d4bede9c0642e78ef35c43178d17 /scripts/theme-studio/face_coverage.py
parenta007fb21b563ee4f0f9c526b6623bbecaa9ee065 (diff)
downloaddotemacs-e18cf02e22049ad3cc4ce96059edc37a5ecb6719.tar.gz
dotemacs-e18cf02e22049ad3cc4ce96059edc37a5ecb6719.zip
feat(buffer-file): confirmation policy for the destructive C-; b operations
Delete file (D) ran with no confirmation at all; erase, clear-to-top/bottom, and revert were a single keystroke from destroying unsaved edits; and raw revert-buffer prompted even when there was nothing to lose. Policy now: delete always confirms, naming the file (the VC path keeps vc-delete-file's own prompt); erase/clear/revert confirm only when a file-visiting buffer has unsaved edits, and stay fast otherwise. The delete workhorse is split into an unconfirmed internal so its existing tests keep exercising the file mechanics; 13 new tests cover the policy.
Diffstat (limited to 'scripts/theme-studio/face_coverage.py')
0 files changed, 0 insertions, 0 deletions