aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-buffer-file-delete-buffer-and-file.el
Commit message (Collapse)AuthorAgeFilesLines
* feat(buffer-file): confirmation policy for the destructive C-; b operationsCraig Jennings2 days1-38/+42
| | | | 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.
* Revert "checking in modified/removed tests and other misc changes"Craig Jennings2025-11-141-0/+671
| | | | This reverts commit d36afc3f277b9a4228eb7b2464ec4e503695b8d4.
* checking in modified/removed tests and other misc changesCraig Jennings2025-11-141-671/+0
|
* refactor: Rename custom-file-buffer to custom-buffer-fileCraig Jennings2025-10-271-0/+671
Renamed the module 'custom-file-buffer' to 'custom-buffer-file' to ensure consistency across the codebase. This change affects module imports and test files. Additionally, new module 'system-commands.el' has been created to handle system power and session management commands, removing these functionalities from 'wip.el'.