Function: org-roam-erase-keyword
org-roam-erase-keyword is a byte-compiled function defined in
org-roam-utils.el.
Signature
(org-roam-erase-keyword KEYWORD)
Documentation
Erase the line where the KEYWORD is, setting line from the top of the file.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
(defun org-roam-erase-keyword (keyword)
"Erase the line where the KEYWORD is, setting line from the top of the file."
(let ((case-fold-search t))
(org-with-point-at 1
(when (re-search-forward (concat "^#\\+" keyword ":") nil t)
(beginning-of-line)
(delete-region (point) (line-end-position))
(delete-char 1)))))