Function: org-roam--get-keyword
org-roam--get-keyword is a natively compiled function defined in
org-roam-utils.el.
Signature
(org-roam--get-keyword NAME &optional BOUND)
Documentation
Return keyword property NAME in current buffer.
If BOUND, scan up to BOUND bytes of the buffer.
Source Code
;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-utils.el
(defun org-roam--get-keyword (name &optional bound)
"Return keyword property NAME in current buffer.
If BOUND, scan up to BOUND bytes of the buffer."
(save-excursion
(let ((re (format "^#\\+%s:[ \t]*\\([^\n]+\\)" (upcase name))))
(goto-char (point-min))
(when (re-search-forward re bound t)
(buffer-substring-no-properties (match-beginning 1) (match-end 1))))))