Function: org-roam-strip-comments
org-roam-strip-comments is a byte-compiled function defined in
org-roam-utils.el.
Signature
(org-roam-strip-comments S)
Documentation
Strip Org comments from string S.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-utils.el
(defun org-roam-strip-comments (s)
"Strip Org comments from string S."
(with-temp-buffer
(insert s)
(goto-char (point-min))
(while (not (eobp))
(if (org-at-comment-p)
(delete-region (line-beginning-position)
(progn (forward-line) (point)))
(forward-line)))
(buffer-string)))