diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-14 03:28:55 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-14 03:28:55 -0500 |
| commit | 0a1bb630f6d99ead772a192e0b0954c9cb1bec35 (patch) | |
| tree | 4c8c504e0473a3ecc24bb38f12de562a6b593ffd /modules/custom-datetime.el | |
| parent | 4a2c51845893ae847f0496c70319dcaa34d92c41 (diff) | |
| download | dotemacs-0a1bb630f6d99ead772a192e0b0954c9cb1bec35.tar.gz dotemacs-0a1bb630f6d99ead772a192e0b0954c9cb1bec35.zip | |
test(org-reveal-config): cover command wrappers + preview helpers
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.
Diffstat (limited to 'modules/custom-datetime.el')
0 files changed, 0 insertions, 0 deletions
