aboutsummaryrefslogtreecommitdiff
path: root/modules/diff-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-25 17:51:17 -0500
committerCraig Jennings <c@cjennings.net>2026-05-25 17:51:17 -0500
commit07f03f535a6c392d14ffe138b6f90c0b19eb6c83 (patch)
treefbc3aa91301c9782bb90c5d030e9dfb55844d436 /modules/diff-config.el
parent65180703dd454cd97365607b110989833e9113ba (diff)
downloaddotemacs-07f03f535a6c392d14ffe138b6f90c0b19eb6c83.tar.gz
dotemacs-07f03f535a6c392d14ffe138b6f90c0b19eb6c83.zip
fix(org): guard external-tool assumptions in export and publishing commands
Four export/publishing commands shelled out to external tools without checking they exist, so a missing tool surfaced as an opaque process error — or, for reveal.js, a silently broken presentation. I added a command-time guard to each that names the tool and what's needed: - zathura, in the pandoc PDF export-and-open command - the hugo binary and the platform file-manager opener, in hugo-config - the local reveal.js checkout (run scripts/setup-reveal.sh), shared by the reveal export and preview commands - pandoc, in the web-clip protocol handler The checks run only when the command runs, so startup stays quiet. Each guard has a test asserting the user-error fires when the tool is absent, and the existing happy-path tests now stub the lookups so they exercise the real path rather than tripping the new guard.
Diffstat (limited to 'modules/diff-config.el')
0 files changed, 0 insertions, 0 deletions