diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-30 09:17:48 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-30 09:17:48 -0500 |
| commit | 9667f85411d706383cab6c2eaa5ac3da101bb7f1 (patch) | |
| tree | a379e7a69928657198c56d6ddc2f66d87f4c2742 /snippets/org-mode/new drill item | |
| parent | 8cc297b997387e44759be743abf0adfd71a2c585 (diff) | |
| download | dotemacs-9667f85411d706383cab6c2eaa5ac3da101bb7f1.tar.gz dotemacs-9667f85411d706383cab6c2eaa5ac3da101bb7f1.zip | |
refactor(config-utilities): extract cj/--benchmark-method
Splits the timer dispatch out of cj/benchmark-this-method so it can
be tested with a known method symbol instead of going through
read-string + completing-read. The interactive wrapper still prompts
for both inputs, and now catches the user-error from the internal so
the user-facing behaviour on invalid input is unchanged (the message
goes to the echo area).
Returns the funcall's value to the caller, which is observable
through the timer.
Diffstat (limited to 'snippets/org-mode/new drill item')
0 files changed, 0 insertions, 0 deletions
