4972855231
Eyebrowse stores window configurations for workspaces in frame properties. These window configurations reference buffers by name, which means that these references must be updated when a buffer is renamed. To this end, eyebrowse advises rename-buffer. Spacemacs integrates eyebrowse with persp-mode by saving the eyebrowse workspaces for a perspective as a parameter for that perspective so that Spacemacs can restore a perspective's workspaces when switching to that perspective. However, eyebrowse's advice for rename-buffer fails to update inactive workspaces, for which the window configurations are stored in perspective parameters and not frame properties. This commit disables eyebrowse's advice and adds perspective-aware advice to update buffer references in workspace window configurations. * layers/+spacemacs/spacemacs-layouts/funcs.el (spacemacs//fixup-window-configs): New. * layers/+spacemacs/spacemacs-layouts/packages.el (spacemacs-layouts/init-eyebrowse): Remove eyebrowse-fixup-window-configs advice for rename-buffer and advise with spacemacs//fixup-window-configs instead. |
||
---|---|---|
.. | ||
spacemacs-completion | ||
spacemacs-defaults | ||
spacemacs-editing | ||
spacemacs-editing-visual | ||
spacemacs-evil | ||
spacemacs-language | ||
spacemacs-layouts | ||
spacemacs-misc | ||
spacemacs-modeline | ||
spacemacs-navigation | ||
spacemacs-org | ||
spacemacs-project | ||
spacemacs-purpose | ||
spacemacs-visual |