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 | cabf4212d6128cf6ff1ed248eb879a68a787627e (patch) | |
| tree | 8788e952dfa0a0ba55e5879275d4937058abe81d /docs/design | |
| parent | 30a42afa19ad1866f7bc44b3e938c4dbd750d554 (diff) | |
| download | dotemacs-cabf4212d6128cf6ff1ed248eb879a68a787627e.tar.gz dotemacs-cabf4212d6128cf6ff1ed248eb879a68a787627e.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 'docs/design')
0 files changed, 0 insertions, 0 deletions
