aboutsummaryrefslogtreecommitdiff
path: root/modules/vterm-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-14 03:37:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-14 03:37:11 -0500
commit7ff47c1b3d87d04b97b2f8fc9c16ba98e5e398ec (patch)
tree89f51bed58e763ae3c03ed8a2214497be59a34e1 /modules/vterm-config.el
parent34e59fa637ad23337d5a73e4358ba7340e1e00ee (diff)
downloaddotemacs-7ff47c1b3d87d04b97b2f8fc9c16ba98e5e398ec.tar.gz
dotemacs-7ff47c1b3d87d04b97b2f8fc9c16ba98e5e398ec.zip
test(org-webclipper): cover lazy init, protocol handler, EWW capture
Sibling `test-org-webclipper-process.el` covers the content-processing helper. This batch fills in the rest: - `cj/webclipper-ensure-initialized`: registers the webclip protocol entry + the W and w capture templates on first call, is idempotent on subsequent calls. - `cj/org-protocol-webclip`: stashes the url+title, triggers capture; missing title falls back to "Untitled". - `cj/org-protocol-webclip-handler`: errors when no url stashed, returns processed org content on success (with the first heading stripped + subs demoted), wraps fetch failures in a "Failed to clip" error. - `cj/org-webclipper-EWW`: routes through `org-eww-copy-for-org-mode` for eww-mode and `org-w3m-copy-for-org-mode` for w3m-mode; errors on any other source mode. Top-level defvars for `org-protocol-protocol-alist`, `org-capture-templates`, and `webclipped-file` make let-bindings dynamic under lexical scope. org-web-tools and the eww/w3m copy commands are stubbed.
Diffstat (limited to 'modules/vterm-config.el')
0 files changed, 0 insertions, 0 deletions