bmag / emacs-purpose

Manage Windows and Buffers According to Purposes
GNU General Public License v3.0
496 stars 23 forks source link

'Symbol’s value as variable is void: magit-display-buffer-function' when I start spacemacs #173

Closed et2010 closed 3 years ago

et2010 commented 3 years ago

I have to put (require 'magit) in window-purpose-x.el to workaround this.

banzr commented 3 years ago

I just started having this issue, too.

bmag commented 3 years ago

Thanks for reporting. Likely cause is this recent commit. Requiring magit in the relevant on/off functions should fix the issue.

I'll take care of it later today. For now, you can workaround this in your config by requiring magit before window-purpose-x.

et2010 commented 3 years ago

There is a fix on spacemacs' end:

https://github.com/syl20bnr/spacemacs/commit/af0d0e72763c6b441087dfdb96b65020c3c43650