Function: org-link--store-shortdoc
org-link--store-shortdoc is a byte-compiled function defined in
ol.el.gz.
Signature
(org-link--store-shortdoc &optional INTERACTIVE?)
Documentation
Store "shortdoc" type link.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defun org-link--store-shortdoc (&optional _interactive?)
"Store \"shortdoc\" type link."
(when (derived-mode-p 'shortdoc-mode)
(let* ((buffer (buffer-name))
(group (when (string-match "*Shortdoc \\(.*\\)\\*" buffer)
(match-string 1 buffer))))
(if (and group (assoc (intern-soft group) shortdoc--groups))
(org-link-store-props :type "shortdoc"
:link (format "shortdoc:%s" group)
:description nil)
(user-error "Unknown shortdoc group: %s" group)))))