diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-01 08:44:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-01 08:44:03 -0500 |
| commit | 4772d49efd4b0b6031496caac1777915da6204a0 (patch) | |
| tree | 30157bb50f8412d2c1c43822cbe9be250ef715ea /modules | |
| parent | b72e794be60c5d4e94c61e5af8c08245773e3393 (diff) | |
| download | dotemacs-4772d49efd4b0b6031496caac1777915da6204a0.tar.gz dotemacs-4772d49efd4b0b6031496caac1777915da6204a0.zip | |
fix(prog-general): repoint daily-prep opener to root symlink
The daily-prep workflow now keeps its stable symlink at the project root as daily-prep.org instead of inbox/today-prep.org. I repointed cj/open-project-daily-prep (C-c p d) to match, updating its docstring, not-found message, and test for the new path.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/prog-general.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/prog-general.el b/modules/prog-general.el index e09c3f40..a4be7205 100644 --- a/modules/prog-general.el +++ b/modules/prog-general.el @@ -147,16 +147,16 @@ buffer the user is looking at." (defun cj/open-project-daily-prep () "Open the current Projectile project's daily prep, respecting the split. -The prep file is inbox/today-prep.org under the project root (a stable -symlink to the dated prep doc). Project-scoped: a project without one gets a -message. Opens in the other window when the frame is split and reuses the -current window otherwise, matching `cj/open-project-root-todo'." +The prep file is daily-prep.org under the project root (a stable symlink +to the dated prep doc in daily-prep/). Project-scoped: a project without +one gets a message. Opens in the other window when the frame is split and +reuses the current window otherwise, matching `cj/open-project-root-todo'." (interactive) (if-let ((root (projectile-project-root))) - (let ((file (expand-file-name "inbox/today-prep.org" root))) + (let ((file (expand-file-name "daily-prep.org" root))) (if (file-exists-p file) (cj/--find-file-respecting-split file) - (message "No inbox/today-prep.org in project: %s" root))) + (message "No daily-prep.org in project: %s" root))) (message "Not in a Projectile project"))) (use-package projectile |
