<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-org-reveal-config-commands.el, branch load-graph-classify-end</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=load-graph-classify-end'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-14T08:28:55+00:00</updated>
<entry>
<title>test(org-reveal-config): cover command wrappers + preview helpers</title>
<updated>2026-05-14T08:28:55+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-14T08:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=70ccc2ce09354bb07c6583b46f3f1b8fc60eec11'/>
<id>urn:sha1:70ccc2ce09354bb07c6583b46f3f1b8fc60eec11</id>
<content type='text'>
Sibling tests covered the header template, title-to-filename slug, and the headers-remove pass. This file fills in the rest:

- `cj/--reveal-preview-export-on-save`: exports in org-mode, skips otherwise.
- `cj/--reveal-ensure-header`: inserts when absent, no-op (no prompt) when already present.
- `cj/reveal-export`: errors outside org-mode, opens HTML in browser otherwise.
- `cj/reveal-preview-start`: installs the buffer-local after-save-hook + exports once; errors outside org-mode.
- `cj/reveal-preview-stop`: removes the hook + messages.
- `cj/reveal-insert-header`: errors outside org-mode, errors when headers already present, inserts and reports otherwise.
- `cj/reveal-remove-headers`: errors outside org-mode, messages the removed line count.
- `cj/reveal-new`: errors when target file already exists.

ox-reveal's `org-reveal-export-to-html` and `browse-url-of-file` are stubbed.
</content>
</entry>
</feed>
