feat(org): new "cmd" link type

This commit is contained in:
TEC 2023-02-19 00:23:31 +08:00 committed by Henrik Lissner
parent 825458e039
commit 733f857199
2 changed files with 32 additions and 0 deletions

View file

@ -559,6 +559,12 @@ relative to `org-directory', unless it is an absolute path."
:follow (-call-interactively #'describe-face)
:activate-func #'+org-link--face-link-activate-face
:face '(font-lock-type-face underline))
(org-link-set-parameters
"cmd"
:follow (-call-interactively #'describe-command)
:activate-func #'+org-link--command-link-activate-command
:face 'help-key-binding
:help-echo #'+org-link-doom--help-echo-from-textprop)
(org-link-set-parameters
"doom-package"
:follow #'+org-link-follow-doom-package-fn