Skip to content

Conversation

sunlin7
Copy link
Contributor

@sunlin7 sunlin7 commented Sep 11, 2025

There maybe an error message after load-hints enabled, reproduce steps are remove all installed packages and enable load-hints, then start Spacemacs to trigger packages full installation, then there should have an error message during byte-compile the package with-editor:

error("Eager macro-expansion failure: %S" (excessive-lisp-nesting 1601))

This PR will fix the issue, and the change is inspired by similar scenario in the function timeout-debounce:
https://github.com/emacs-mirror/emacs/blob/0bf5898f20571897dc540d10cdc6f4c3a517a82c/lisp/emacs-lisp/timeout.el#L142-L145

    (advice-add func :around (timeout--debounce-advice delay default)
                '((name . debounce)
                  (depth . -99)))))

@smile13241324 smile13241324 merged commit 3302336 into syl20bnr:develop Sep 12, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants