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 | 92eaba30ae35727509f1d9d6dcc467c248f627dc (patch) | |
| tree | 941a9dfc2229185df5a8962da96e3473a99f4a1e /tests/test-prog-json--json-format-buffer.el | |
| parent | 3f75b39bbbc4e1c136d3f786024c5c1ed19011ce (diff) | |
| download | dotemacs-92eaba30ae35727509f1d9d6dcc467c248f627dc.tar.gz dotemacs-92eaba30ae35727509f1d9d6dcc467c248f627dc.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-prog-json--json-format-buffer.el')
0 files changed, 0 insertions, 0 deletions
