(fix)preview: fix link preview when headline contains link (#1676)

This commit is contained in:
Jethro Kuan
2021-07-26 13:48:50 +08:00
committed by GitHub
parent 4455762c38
commit 6dc8dda5e5

View File

@ -609,7 +609,7 @@ If INDENT is given, prefix every line with this string."
(org-goto-line (1+ n-lines))
(backward-char 1))
(setq txt (buffer-substring (point-min) (point))))))))
(list (point-min) (point) txt)))
txt))
(defun org-roam-node-at-point (&optional assert)
"Return the node at point.