a52422e653
This fixes two issues regarding layouts. 1. Since Bad-ptr/persp-mode.el@e950bf15, persp-mode requires setting persp-hook-up-emacs-buffer-completion in order to install the hooks for ido & friends. This variable is nil by default, making SPB b b not restrict to layout-local buffers. 2. The function spacemacs-layouts/non-restricted-buffer-list removes a hook and re-adds it later. This makes the assumption that the hook was already present. If it was not (due to 1) then SPC B b changes global state by adding that hook. Instead, just let-bind the hook variable for the scope we need it changed. This explains and partially fixes #5788 and #6266. It does not fix the dependency on ido-mode. If ido-mode is excluded, persp-mode will not install the hook for ido, and SPB b b will still be unrestricted. |
||
---|---|---|
.. | ||
config.el | ||
funcs.el | ||
packages.el |