On 2024-05-01, 11:00 +0000, Ihor Radchenko wrote: > Bruno Cardoso writes: > >> This patch adds support for "shortdoc:" links. > > Thanks! > >> --- a/etc/ORG-NEWS >> +++ b/etc/ORG-NEWS > > You also need to document the new built-in link type in the manual. > >> +(defun org-link--open-shortdoc (group _) >> + "Open a \"shortdoc\" type link. >> +GROUP is a symbol name." >> + (if (assoc (intern group) shortdoc--groups) >> + (shortdoc group) >> + (user-error "Unknown shortdoc group: %s" group))) > > `shortdoc' function was only introduced in Emacs 29. > In Emacs 28, there is only `shortdoc-display-group'. > Please use the latter function, when `shortdoc' is not available. > > In Emacs 27, shortdoc library is not yet present. So, please avoid > defining shortdoc: link type in Emacs <28. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at