aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-15 00:54:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-15 00:54:01 -0500
commit19792c01de3742fca01fcbb9dbc803ed1b53d819 (patch)
treeed80757a7356b926b464b6c4a4bd61b444a26020 /docs
parent823769a86604e1fc63c38785d0523b5086bd55d7 (diff)
downloaddotemacs-19792c01de3742fca01fcbb9dbc803ed1b53d819.tar.gz
dotemacs-19792c01de3742fca01fcbb9dbc803ed1b53d819.zip
feat(custom-buffer-file): extend buffer-source dispatch to mu4e and Info
Add two dispatchers to cj/buffer-source-functions so C-; b p yields a useful link form in two more major modes. mu4e-view-mode returns "mu4e:msgid:<id>" so the result pastes into org as a clickable link and matches mu4e's own org-protocol handler. Falls through to buffer-file-name when point isn't on a real message. Info-mode returns "info:(manual)node" -- the form org-info-store-link produces. file-name-base only strips one extension, so a compressed "emacs.info.gz" comes back as "emacs.info"; trim the trailing ".info" to get the bare manual name. Falls through when Info hasn't populated its current-file / current-node vars yet. Tests cover normal + boundary fallthrough for each new mode.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions