Function: org-roam-get-keyword

org-roam-get-keyword is a byte-compiled function defined in org-roam-utils.el.

This function is obsolete since org-roam 2.0; use org-collect-keywords instead.

Signature

(org-roam-get-keyword NAME &optional FILE BOUND)

Documentation

Return keyword property NAME from an org FILE.

FILE defaults to current file. Only scans up to BOUND bytes of the document.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
;;;; Keywords
(defun org-roam-get-keyword (name &optional file bound)
  "Return keyword property NAME from an org FILE.
FILE defaults to current file.
Only scans up to BOUND bytes of the document."
  (unless bound
    (setq bound 1024))
  (if file
      (with-temp-buffer
        (insert-file-contents file nil 0 bound)
        (org-roam--get-keyword name))
    (org-roam--get-keyword name bound)))