Is there any simple way to remove a buffer from all perspectives (without killing it)? I'd like to add an advice to bury-buffer that removes buried buffers from all perspectives and a function to buffer-list-change-hook to add them back to a Default perspective (obviously not the nil perspective) when focused (i.e., when moved to the front of buffer-list).
Is there any simple way to remove a buffer from all perspectives (without killing it)? I'd like to add an advice to
bury-buffer
that removes buried buffers from all perspectives and a function tobuffer-list-change-hook
to add them back to a Default perspective (obviously not thenil
perspective) when focused (i.e., when moved to the front ofbuffer-list
).