Skip to content

Fix org-link issue in entry section #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix org-link issue in entry section
  • Loading branch information
hwiorn committed Feb 27, 2023
commit fdf62885244c08d12b8295e7b7b88ea636c34c6a
11 changes: 6 additions & 5 deletions org-brain.el
Original file line number Diff line number Diff line change
Expand Up @@ -3125,11 +3125,12 @@ Helper function for `org-brain-visualize'."
(run-hooks 'org-brain-after-visualize-hook)
(insert (with-temp-buffer
(insert text)
(delay-mode-hooks
(org-mode)
(setq-local org-pretty-entities t)
(font-lock-ensure (point-min) (point-max))
(buffer-string))))
(let ((org-fold-core-style 'overlays))
(delay-mode-hooks
(org-mode)
(setq-local org-pretty-entities t)
(font-lock-ensure (point-min) (point-max))
(buffer-string)))))
(run-hooks 'org-brain-visualize-text-hook))
(run-hooks 'org-brain-after-visualize-hook)))
(run-hooks 'org-brain-after-visualize-hook)))
Expand Down