Bad-ptr / persp-mode.el

named perspectives(set of buffers/window configs) for emacs
394 stars 44 forks source link

Problems with windows with no-delete-other-windows param #120

Closed czikus closed 3 years ago

czikus commented 3 years ago

My perspectives include windows with no-delete-other-windows set to t. When switching perspectives, these windows are not properly removed by persp-delete-other-windows, leading to inconsistencies in window configuration. Advising persp-delete-other-windows to set ignore-window-parameters solves the issue:

(defadvice! persp-delete-other-windows-advice (orig-fun)
    :around #'persp-delete-other-windows
    (let ((ignore-window-parameters t))
      (funcall orig-fun)))
Bad-ptr commented 3 years ago

Thanks. Must be fixed 298df111f081b5925f0aa0126a1b8d334117e0a2