mirror of
https://github.com/org-roam/org-roam
synced 2025-08-07 12:47:23 -05:00
Fix org-fold-core-style in org-roam-buffer (#2325)
This commit is contained in:
@ -227,9 +227,9 @@ Like `org-fontify-like-in-org-mode', but supports `org-ref'."
|
|||||||
;; `org-fontify-like-in-org-mode' here
|
;; `org-fontify-like-in-org-mode' here
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(insert s)
|
(insert s)
|
||||||
(let ((org-ref-buffer-hacked t)
|
(let ((org-ref-buffer-hacked t))
|
||||||
(org-fold-core-style 'overlays))
|
|
||||||
(org-mode)
|
(org-mode)
|
||||||
|
(setq-local org-fold-core-style 'overlays)
|
||||||
(font-lock-ensure)
|
(font-lock-ensure)
|
||||||
(buffer-string))))
|
(buffer-string))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user