mirror of
https://github.com/correl/org-roam-export-backlinks.git
synced 2024-11-14 11:09:33 +00:00
Enable org-mode in temporary excerpt buffer
This commit is contained in:
parent
74304e45c1
commit
bce5ecfce4
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
(defun org-roam-export-backlinks-excerpt (backlink)
|
||||
"Get the Org element containing the link from BACKLINK as an excerpt."
|
||||
(with-temp-buffer
|
||||
(org-mode)
|
||||
(insert-file-contents (org-roam-node-file (org-roam-backlink-source-node backlink)))
|
||||
(goto-char (org-roam-backlink-point backlink))
|
||||
(org-roam-export-backlinks--excerpt)))
|
||||
|
|
Loading…
Reference in a new issue