Skip to content
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

Fix #178: x-magit: don't override backup variable on double activation #179

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

bmag
Copy link
Owner

@bmag bmag commented Mar 4, 2021

No description provided.

@bmag bmag merged commit 1a41373 into master Mar 4, 2021
duianto referenced this pull request in syl20bnr/spacemacs Mar 4, 2021
problem:
trying to open a magit buffer after
reloading the configuration: `SPC f e R`

shows the message:
>Lisp nesting exceeds ‘max-lisp-eval-depth’

cause:
purpose-x-magit-multi-on can't be called twice,
without turning it off first: purpose-x-magit-off

Spacemacs, purpose-x-magit-multi-on, Lisp nesting exceeds ‘max-lisp-eval-depth’
bmag/emacs-purpose#178

solution:
in this case we'll only call: purpose-x-magit-multi-on
once per Emacs session.

notes:
this also removes the call to: with-eval-after-load 'magit
because it's handled upstream:
https://github.com/bmag/emacs-purpose/blob/c85dd3c9f70cd593d6bc79c40855a240e55b2575/window-purpose-x.el#L243
duianto added a commit to syl20bnr/spacemacs that referenced this pull request Mar 4, 2021
The upstream fix:
Fix #178: x-magit: don't override backup variable on double activation by bmag bmag/emacs-purpose#179

Made it possible to just call: purpose-x-magit-multi-on
aam-at pushed a commit to aam-at/spacemacs that referenced this pull request Mar 23, 2021
The upstream fix:
Fix syl20bnr#178: x-magit: don't override backup variable on double activation by bmag bmag/emacs-purpose#179

Made it possible to just call: purpose-x-magit-multi-on
wang-d pushed a commit to wang-d/spacemacs that referenced this pull request Jul 22, 2021
The upstream fix:
Fix syl20bnr#178: x-magit: don't override backup variable on double activation by bmag bmag/emacs-purpose#179

Made it possible to just call: purpose-x-magit-multi-on
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.

None yet

1 participant