Function: denote--link-in-context-regexp
denote--link-in-context-regexp is a byte-compiled function defined in
denote.el.
Signature
(denote--link-in-context-regexp FILE-TYPE)
Documentation
Return link regexp in context based on FILE-TYPE.
Source Code
;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote--link-in-context-regexp (file-type)
"Return link regexp in context based on FILE-TYPE."
(when-let* ((type (alist-get file-type denote-file-types))
(property (plist-get type :link-in-context-regexp))
(link-type-regexp (if (symbolp property)
(symbol-value property)
property)))
(format "%s\\|%s" link-type-regexp denote-id-only-link-in-context-regexp)))