aboutsummaryrefslogtreecommitdiff
path: root/tests/test-custom-buffer-file-move-buffer-and-file.el
Commit message (Collapse)AuthorAgeFilesLines
* fix: use file basename when moving buffer + fileCraig Jennings2026-05-031-0/+40
| | | | | | | | `cj/--move-buffer-and-file` was building the destination as `(concat dir "/" (buffer-name))`. If the buffer had been renamed via `M-x rename-buffer`, or uniquified by Emacs with a `<2>` suffix when a second buffer visited the same filename, the move wrote a file with the wrong name on disk. I derived the destination basename from `buffer-file-name` instead, in both the internal helper and the interactive wrapper. The wrapper's overwrite-prompt now also formats the real target filename rather than the buffer name. I added two regression tests: one for a renamed buffer visiting `original.txt`, and one for a `<2>` uniquified buffer with a trailing-slash target directory.
* Revert "checking in modified/removed tests and other misc changes"Craig Jennings2025-11-141-0/+936
| | | | This reverts commit 1218bae708a6755e3628f15fef58e6806ac81039.
* checking in modified/removed tests and other misc changesCraig Jennings2025-11-141-936/+0
|
* refactor: Rename custom-file-buffer to custom-buffer-fileCraig Jennings2025-10-271-0/+936
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'.