diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-25 08:00:20 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-25 08:00:20 -0500 |
| commit | 2b2c1f7e1fb6daf1c4ef49468dbde71118515abe (patch) | |
| tree | 34a5b5630c26628b838406068ab75f68ec7888b9 /tests/test-custom-buffer-file-copy-buffer-source.el | |
| parent | 7c7fb4620fe0f66a41eaa40d9fde4f6cb04507f7 (diff) | |
| download | dotemacs-2b2c1f7e1fb6daf1c4ef49468dbde71118515abe.tar.gz dotemacs-2b2c1f7e1fb6daf1c4ef49468dbde71118515abe.zip | |
fix(prog-general): open the project todo in the other window when split
C-c p t (cj/open-project-root-todo) called find-file, which always opened todo.org in the selected window, replacing whatever I was looking at. Now it opens in the other window when the frame is split and in the current window when it isn't, through a small cj/--find-file-respecting-split helper. The helper is a top-level defun rather than buried in the projectile :config block so it can be unit-tested without loading projectile.
I left cj/project-switch-actions alone. Opening the todo on a project switch is a different trigger and not what this fixes.
Diffstat (limited to 'tests/test-custom-buffer-file-copy-buffer-source.el')
0 files changed, 0 insertions, 0 deletions
