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 | 93a9a02d70b74028c14be8aca74f20aa7b13fc84 (patch) | |
| tree | 58d0b40a2d878de103a8f555da8e8e605aee0170 /modules/coverage-elisp.el | |
| parent | f431b54280387d952b68370ee27d255241de42dd (diff) | |
| download | dotemacs-93a9a02d70b74028c14be8aca74f20aa7b13fc84.tar.gz dotemacs-93a9a02d70b74028c14be8aca74f20aa7b13fc84.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 'modules/coverage-elisp.el')
0 files changed, 0 insertions, 0 deletions
