I have this option settings:

#+begin_src emacs-lisp
(setq org-element-use-cache nil)
(setq org-fold-core-style 'overlays)
(setq org-fold-catch-invisible-edits nil)

(use-package consult
  :ensure t
  :bind (([remap org-goto] . consult-org-heading)) ; [C-c C-j]
  :config (require 'consult-org))
#+end_src

And here is the testing Org document:

#+begin_src org
,#+TITLE: test

,* headline main

,** Screenshots

,** folded?

,** new headline

#+end_src

Here I attached the backtrace after I toggle-debug-on-error:

Attachment: org-fold-core-backtrace.elisp
Description: application/emacs-lisp

-- 

[ stardiviner ]
I try to make every word tell the meaning that I want to express without 
misunderstanding.

Blog: https://stardiviner.github.io/
IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Attachment: signature.asc
Description: PGP signature

Reply via email to