gregsexton / origami.el

A folding minor mode for Emacs
510 stars 41 forks source link

forward-sexp: Scan error: "Unbalanced parentheses", 50316, 100569 #109

Open hongyi-zhao opened 2 years ago

hongyi-zhao commented 2 years ago

I installed this package as follows:

(use-package origami
  :config (global-origami-mode)
  )

But when I try to fold the following code snippet with M-x origami-close-node:

(add-hook 'apropos-mode-hook
          (lambda ()
            (add-hook 'xref-backend-functions
                      #'elisp--xref-backend 0 t)))

I get the following error:

forward-sexp: Scan error: "Unbalanced parentheses", 50316, 100569

Any hints for this problem?

Regards, HZ